From 7977bc04cd9fa35d293e386ad337cd835a3c9a61 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Tue, 12 Nov 2024 10:12:33 -0600 Subject: [PATCH] Merge pull request #21765 from overleaf/jel-gallery-spacing [web] Spacing updates on the gallery GitOrigin-RevId: bf10c7ab5d8e05d54ac6834b1e5568c86b1ea767 --- .../stylesheets/bootstrap-5/components/blog-posts.scss | 1 - .../web/frontend/stylesheets/bootstrap-5/pages/content.scss | 2 +- .../frontend/stylesheets/bootstrap-5/pages/templates-v2.scss | 4 ++++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/blog-posts.scss b/services/web/frontend/stylesheets/bootstrap-5/components/blog-posts.scss index 96baa65799..f379fd93b9 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/blog-posts.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/blog-posts.scss @@ -41,7 +41,6 @@ .blog { margin-top: var(--spacing-16); - margin-bottom: var(--spacing-16); img { max-width: 100%; diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/content.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/content.scss index 61ad186d67..3c25ff6810 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/content.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/content.scss @@ -49,7 +49,7 @@ } .begin-now-card { - margin: var(--spacing-16) 0; + margin: calc(var(--spacing-16) * 2) 0; } // TODO: only used on about page. Confirm with UX changes needed diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss index 60656ac388..07426d94da 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss @@ -400,6 +400,10 @@ .related-tags-header { margin-top: var(--spacing-16); + + h2 { + margin-bottom: 0; + } } .related-tags {