From 5ad548e7d73f0437fee074a1830a9072315b2f3d Mon Sep 17 00:00:00 2001 From: Mathias Jakobsen Date: Tue, 2 Jun 2026 15:48:24 +0100 Subject: [PATCH] Merge pull request #34199 from overleaf/mj-tabs-divider-tweaks [web] Drop dividers next to active tab GitOrigin-RevId: 9610e22b0aa7f036233108282687772c30f4c1b0 --- services/web/frontend/stylesheets/pages/editor/tabs.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/services/web/frontend/stylesheets/pages/editor/tabs.scss b/services/web/frontend/stylesheets/pages/editor/tabs.scss index 3cba34e0bc..87baf38e4f 100644 --- a/services/web/frontend/stylesheets/pages/editor/tabs.scss +++ b/services/web/frontend/stylesheets/pages/editor/tabs.scss @@ -48,7 +48,7 @@ --tab-text-color: var(--content-secondary-themed); border-right: 1px solid var(--editor-tab-divider-color); - border-left: 1px solid var(--bg-secondary-themed); + border-left: 1px solid transparent; padding: var(--spacing-01) var(--spacing-02) 0 var(--spacing-02); &:first-child { @@ -59,8 +59,9 @@ padding-right: 0; } - &:last-child.tab-selected { - border-right-color: var(--bg-secondary-themed); + &.tab-selected, + &:has(+ .tab-selected) { + border-right-color: transparent; } .editor-file-tab-content {