Преглед изворни кода

Merge pull request #21890 from overleaf/jel-gallery-search

[web] Gallery search results title adjustments on smaller screens

GitOrigin-RevId: d07e042ba16457f806e7214081461e66635c7d51
Jessica Lawshe пре 1 година
родитељ
комит
ade1b7f2bc

+ 11 - 0
services/web/frontend/stylesheets/bootstrap-5/components/gallery-search.scss

@@ -101,6 +101,17 @@
           &:hover {
             text-decoration: underline;
           }
+
+          @include media-breakpoint-down(lg) {
+            @include heading-sm;
+          }
+
+          @include media-breakpoint-down(md) {
+            @include heading-xs;
+
+            line-clamp: 3;
+            -webkit-line-clamp: 3;
+          }
         }
       }