mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-09 11:35:47 +00:00
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:
parent
705035a972
commit
d43efc2d7c
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue