From 5e58370b8c00b63479023ce8b7bbed005cf1d73d Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:27:34 -0600 Subject: [PATCH] Merge pull request #21689 from overleaf/jel-fix-related-tags [web] Fix gallery related tags height GitOrigin-RevId: 11c2865edddf40768c8edfacef629ed281210e3d --- .../frontend/stylesheets/bootstrap-5/components/badge.scss | 1 + .../frontend/stylesheets/bootstrap-5/pages/templates-v2.scss | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/badge.scss b/services/web/frontend/stylesheets/bootstrap-5/components/badge.scss index df1926cdb9..5dfda03de1 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/badge.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/badge.scss @@ -124,4 +124,5 @@ $max-width: 160px; list-style: none; margin: 0; padding: 0; + align-content: flex-start; } 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 eef11d0c2f..4644f24ce1 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/templates-v2.scss @@ -404,7 +404,7 @@ .related-tags { margin-top: var(--spacing-09); - max-height: 61px; + max-height: 62px; overflow: hidden; &.all-tags { @@ -412,7 +412,7 @@ // min-height prevents elements below the tags from moving upwards // when Show More is clicked - min-height: 102px; + min-height: 105px; } .badge-link {