From ade1b7f2bc9c7f4735684e495b1bdfe48e841a1e Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Fri, 15 Nov 2024 10:31:08 -0600 Subject: [PATCH] Merge pull request #21890 from overleaf/jel-gallery-search [web] Gallery search results title adjustments on smaller screens GitOrigin-RevId: d07e042ba16457f806e7214081461e66635c7d51 --- .../bootstrap-5/components/gallery-search.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/gallery-search.scss b/services/web/frontend/stylesheets/bootstrap-5/components/gallery-search.scss index 9cadbf2b4b..dca3b725e4 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/gallery-search.scss +++ b/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; + } } }