From 393e738ce6fb9e0ebe2ccfd1beec9480d2e32c7e Mon Sep 17 00:00:00 2001 From: Mathias Jakobsen Date: Thu, 29 May 2025 09:39:02 +0100 Subject: [PATCH] Merge pull request #25978 from overleaf/mj-rail-active-indicator-overflow [web] Avoid showing active rail indicator overflow GitOrigin-RevId: a81d97bde6dfa22102374f13b8d372d61e08180e --- .../stylesheets/bootstrap-5/pages/editor/rail.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/rail.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/rail.scss index f6e65416cc..2e6f3035f8 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/rail.scss +++ b/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); } }