mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #12425 from overleaf/jel-mobile-padding
[web] Option to add padding for mobile layout on CMS pages GitOrigin-RevId: 33775905725710d7fc16d84c00af643c4adcc590
This commit is contained in:
parent
df8000fa83
commit
91ec3ca47e
1 changed files with 28 additions and 0 deletions
|
@ -398,3 +398,31 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: @screen-sm-min) {
|
||||
.col-xs-padding-sm {
|
||||
.col-xs-12:not(:first-child) {
|
||||
padding-top: @padding-sm;
|
||||
}
|
||||
}
|
||||
.col-xs-padding-md {
|
||||
.col-xs-12:not(:first-child) {
|
||||
padding-top: @padding-md;
|
||||
}
|
||||
}
|
||||
.col-xs-padding-lg {
|
||||
.col-xs-12:not(:first-child) {
|
||||
padding-top: @padding-lg;
|
||||
}
|
||||
}
|
||||
.col-xs-padding-xl {
|
||||
.col-xs-12:not(:first-child) {
|
||||
padding-top: @padding-xl;
|
||||
}
|
||||
}
|
||||
.col-xs-padding-xxl {
|
||||
.col-xs-12:not(:first-child) {
|
||||
padding-top: @padding-xxl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue