From 3841177931ff8fb45fda64446ed231b1c06bdab4 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Thu, 13 Apr 2023 11:08:37 +0100 Subject: [PATCH] Merge pull request #12504 from overleaf/jel-cms-card-padding [web] Option to set padding on CMS rows GitOrigin-RevId: 297344c9bf6c04eae630f1ddbed59f9519d4e4c7 --- .../frontend/stylesheets/app/cms-page.less | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/services/web/frontend/stylesheets/app/cms-page.less b/services/web/frontend/stylesheets/app/cms-page.less index f81ccbe402..4191d5170c 100644 --- a/services/web/frontend/stylesheets/app/cms-page.less +++ b/services/web/frontend/stylesheets/app/cms-page.less @@ -399,6 +399,38 @@ } } +.row-top-padding-sm { + padding-top: @padding-sm; +} +.row-top-padding-md { + padding-top: @padding-md; +} +.row-top-padding-lg { + padding-top: @padding-lg; +} +.row-top-padding-xl { + padding-top: @padding-xl; +} +.row-top-padding-xxl { + padding-top: @padding-xxl; +} + +.row-bottom-padding-sm { + padding-bottom: @padding-sm; +} +.row-bottom-padding-md { + padding-bottom: @padding-md; +} +.row-bottom-padding-lg { + padding-bottom: @padding-lg; +} +.row-bottom-padding-xl { + padding-bottom: @padding-xl; +} +.row-bottom-padding-xxl { + padding-bottom: @padding-xxl; +} + @media (max-width: @screen-sm-min) { .col-xs-padding-sm { .col-xs-12:not(:first-child) {