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:
Jessica Lawshe 2023-04-03 08:58:11 -05:00 committed by Copybot
parent df8000fa83
commit 91ec3ca47e

View file

@ -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;
}
}
}