Răsfoiți Sursa

Merge pull request #25978 from overleaf/mj-rail-active-indicator-overflow

[web] Avoid showing active rail indicator overflow

GitOrigin-RevId: a81d97bde6dfa22102374f13b8d372d61e08180e
Mathias Jakobsen 1 an în urmă
părinte
comite
393e738ce6

+ 4 - 4
services/web/frontend/stylesheets/bootstrap-5/pages/editor/rail.scss

@@ -85,15 +85,15 @@ body {
     &::after {
       $indicator-height: 3px;
 
-      border-radius: 12px;
+      border-top-left-radius: 12px;
+      border-top-right-radius: 12px;
       content: '';
       position: absolute;
-      bottom: -$indicator-height;
+      bottom: 0;
       left: 4px;
       box-sizing: border-box;
       width: 24px;
-      height: $indicator-height * 2;
-      border: $indicator-height solid var(--ide-rail-link-active-color);
+      height: $indicator-height;
       background-color: var(--ide-rail-link-active-color);
     }
   }