Merge pull request #20523 from overleaf/jel-cms-padding-fix

[web] CMS BS5 - Fix mobile top padding when columns reversed, apply `max-width` to rows as cards

GitOrigin-RevId: 0c8745c171dc8e24389b2e54e4d6fd605c30e145
This commit is contained in:
Jessica Lawshe 2024-09-24 10:04:24 -05:00 committed by Copybot
parent 705035a972
commit d43efc2d7c

View file

@ -475,6 +475,17 @@
.reverse-col-order-mobile {
flex-direction: column-reverse;
// 1st column is displayed as 2nd column on mobile when reversed
div[class*='col-'] {
&:not(:last-child) {
padding-top: var(--spacing-13);
}
&:last-child {
padding-top: 0; // unset padding from default rows above
}
}
}
}
}