Kaynağa Gözat

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

[web] Fix pagination in gallery search result

GitOrigin-RevId: 2c34afd7bff2f2a47cc585e68433ac3fa4f16589
M Fahru 2 yıl önce
ebeveyn
işleme
ca6b5ae4ca

+ 6 - 3
services/web/frontend/stylesheets/bootstrap-5/components/pagination.scss

@@ -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 {