Kaynağa Gözat

Merge pull request #21689 from overleaf/jel-fix-related-tags

[web] Fix gallery related tags height

GitOrigin-RevId: 11c2865edddf40768c8edfacef629ed281210e3d
Jessica Lawshe 1 yıl önce
ebeveyn
işleme
5e58370b8c

+ 1 - 0
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;
 }

+ 2 - 2
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 {