mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #21116 from overleaf/mf-new-gallery-search-result-mobile
[web] Adjust search result styling for smaller screen width GitOrigin-RevId: 6a16b0ca05358c6c83cc626c6103a6bffc98c33f
This commit is contained in:
parent
fd778822f9
commit
7a7533f794
1 changed files with 12 additions and 0 deletions
|
@ -48,6 +48,10 @@
|
|||
img {
|
||||
width: 185px;
|
||||
box-shadow: 0 2px 4px 0 rgba(30 37 48 / 16%);
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
width: 35vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -55,10 +59,17 @@
|
|||
.search-title {
|
||||
margin-bottom: var(--spacing-04);
|
||||
max-width: $templates-search-max-width;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
a {
|
||||
@include heading-md;
|
||||
|
||||
line-clamp: 2;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow-y: hidden;
|
||||
color: var(--content-primary);
|
||||
text-decoration: none;
|
||||
|
||||
|
@ -90,6 +101,7 @@
|
|||
margin: 0;
|
||||
padding-left: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--spacing-04);
|
||||
|
||||
li a {
|
||||
|
|
Loading…
Reference in a new issue