diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/cms.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/cms.scss index c046635b06..fc3abba14d 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/cms.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/cms.scss @@ -547,12 +547,16 @@ .row-within-card { .no-card { - > :first-child { - margin-top: 0; + div:first-child { + > :first-child { + margin-top: 0; + } } - > :last-child { - margin-bottom: 0; + div:last-child { + > :last-child { + margin-bottom: 0; + } } } }