MDL-81184 theme_boost: Fix sticky footer in behat

While in behat debug mode, because sticky footer is not fixed at
the bottom of the page, it does not have to add paddings/margins
related to the drawers.
This commit is contained in:
Mikel Martín 2024-03-11 08:18:14 +01:00
parent 38a3310c92
commit 513a574984
4 changed files with 17 additions and 3 deletions

View File

@ -12,6 +12,10 @@ body.behat-site {
.stickyfooter {
position: inherit;
z-index: inherit;
.sticky-footer-content-wrapper {
padding: 0;
margin: 0;
}
}
// We need more spacing in action menus so behat does not click on the wrong menu item.

View File

@ -11,7 +11,7 @@ body {
position: fixed;
right: 0;
left: 0;
height: $stickyfooter-height;
min-height: $stickyfooter-height;
bottom: calc(#{$stickyfooter-height} * -1);
transition: bottom .5s;
z-index: $zindex-fixed;

View File

@ -36008,6 +36008,11 @@ body.behat-site .stickyfooter {
position: inherit;
z-index: inherit;
}
body.behat-site.hasstickyfooter .stickyfooter .sticky-footer-content-wrapper,
body.behat-site .stickyfooter .sticky-footer-content-wrapper {
padding: 0;
margin: 0;
}
body.behat-site .dropdown-item {
margin-top: 4px !important; /* stylelint-disable declaration-no-important */
}
@ -36097,7 +36102,7 @@ body {
position: fixed;
right: 0;
left: 0;
height: max(80px, 0.9375rem * 3);
min-height: max(80px, 0.9375rem * 3);
bottom: calc(max(80px, 0.9375rem * 3) * -1);
transition: bottom 0.5s;
z-index: 1030;

View File

@ -35942,6 +35942,11 @@ body.behat-site .stickyfooter {
position: inherit;
z-index: inherit;
}
body.behat-site.hasstickyfooter .stickyfooter .sticky-footer-content-wrapper,
body.behat-site .stickyfooter .sticky-footer-content-wrapper {
padding: 0;
margin: 0;
}
body.behat-site .dropdown-item {
margin-top: 4px !important; /* stylelint-disable declaration-no-important */
}
@ -36031,7 +36036,7 @@ body {
position: fixed;
right: 0;
left: 0;
height: max(80px, 0.9375rem * 3);
min-height: max(80px, 0.9375rem * 3);
bottom: calc(max(80px, 0.9375rem * 3) * -1);
transition: bottom 0.5s;
z-index: 1030;