Merge pull request #21214 from overleaf/mf-new-gallery-search-result-pagination

[web] Fix pagination in gallery search result

GitOrigin-RevId: 2c34afd7bff2f2a47cc585e68433ac3fa4f16589
This commit is contained in:
M Fahru 2024-10-21 12:49:09 -07:00 committed by Copybot
parent 0811e46b6c
commit ca6b5ae4ca

View file

@ -9,7 +9,8 @@
display: inline-block; display: inline-block;
> a, > a,
> span { > span,
> button {
position: relative; position: relative;
float: left; // Collapse white-space float: left; // Collapse white-space
padding: var(--spacing-04) var(--spacing-06); padding: var(--spacing-04) var(--spacing-06);
@ -32,14 +33,16 @@
&:first-child { &:first-child {
> a, > a,
> span { > span,
> button {
margin-left: 0; margin-left: 0;
} }
} }
} }
> .active > a, > .active > a,
> .active > span { > .active > span,
> .active > button {
&, &,
&:hover, &:hover,
&:focus { &:focus {