Is this enhancement or feature is related to a problem?
Since sliding box padding is constant, for a balanced view, especially on mobile devices, it is better to change padding automatically. Doing so also fixes the problem for mobile devices, where the close button may not be visible. (width: 320px)
Describe the solution you'd like
Auto padding referenced to --main-container-margin
Is this enhancement or feature is related to a problem?
Since sliding box padding is constant, for a balanced view, especially on mobile devices, it is better to change padding automatically. Doing so also fixes the problem for mobile devices, where the close button may not be visible. (width: 320px)
Describe the solution you'd like
Auto padding referenced to
--main-container-margin
Describe alternatives you've considered
none
Additional context
none