Merge pull request #21411 from overleaf/jel-gallery

[web] "Back to ..." link text and hover effect on gallery search result images

GitOrigin-RevId: bfa21b17da7a3409139b1cf186b036ee65bf87eb
This commit is contained in:
Jessica Lawshe 2024-10-29 09:16:03 -05:00 committed by Copybot
parent 7444026cc3
commit ae9ba2b775

View file

@ -46,18 +46,8 @@
justify-content: center;
height: 100%;
width: 100%;
img {
@include shadow-md;
width: 185px;
border-radius: var(--border-radius-base);
position: relative;
@include media-breakpoint-down(sm) {
width: 35vw;
}
&::before {
content: '';
background: var(--neutral-90);
@ -70,6 +60,16 @@
border-radius: var(--border-radius-base);
transition: opacity 0.15s ease-in-out;
}
img {
@include shadow-md;
width: 185px;
border-radius: var(--border-radius-base);
@include media-breakpoint-down(sm) {
width: 35vw;
}
}
&:hover {