From df8000fa83e1a2e9e5aa8464a77535cb95bfdc38 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Mon, 3 Apr 2023 08:58:03 -0500 Subject: [PATCH] Merge pull request #12414 from overleaf/jel-grid-in-card [web] Option to render grid in a card on the CMS GitOrigin-RevId: b65ee396915b4e8622384ab37a453d59b1d18c88 --- services/web/frontend/stylesheets/app/cms-page.less | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/services/web/frontend/stylesheets/app/cms-page.less b/services/web/frontend/stylesheets/app/cms-page.less index c1e13df933..9f8d427c59 100644 --- a/services/web/frontend/stylesheets/app/cms-page.less +++ b/services/web/frontend/stylesheets/app/cms-page.less @@ -387,3 +387,14 @@ flex-direction: column-reverse; } } + +.row-within-card { + .no-card { + > :first-child { + margin-top: 0; + } + > :last-child { + margin-bottom: 0; + } + } +}