Przeglądaj źródła

Merge pull request #20589 from overleaf/rd-bs5-dropdown-fix

[web] Fix the dropdown toggle arrow positioning on the tag menu

GitOrigin-RevId: 41935fd059c3a2a197f5f445d8c72c82415de6d7
Rebeka Dekany 2 lat temu
rodzic
commit
ca49eada95

+ 4 - 4
services/web/frontend/stylesheets/bootstrap-5/pages/project-list.scss

@@ -371,16 +371,16 @@
         border-radius: var(--border-radius-base);
         border-radius: var(--border-radius-base);
         background-color: transparent;
         background-color: transparent;
         color: var(--white);
         color: var(--white);
-        display: block;
+        display: flex;
+        align-items: center;
+        justify-content: center;
         width: 16px;
         width: 16px;
         height: 16px;
         height: 16px;
         position: relative;
         position: relative;
         padding: var(--spacing-01) var(--spacing-03);
         padding: var(--spacing-01) var(--spacing-03);
 
 
         &::after {
         &::after {
-          position: absolute;
-          top: 4px;
-          left: -2px;
+          margin: 0;
         }
         }
       }
       }