From ccdbba23485d90d437b0a3a19594faa25ef8833a Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 25 May 2020 17:18:57 +0300 Subject: [PATCH] Change flex for tab switcher lines to always have some small space reserved --- src/components/tab_switcher/tab_switcher.scss | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/tab_switcher/tab_switcher.scss b/src/components/tab_switcher/tab_switcher.scss index 479fb686..fff6cc21 100644 --- a/src/components/tab_switcher/tab_switcher.scss +++ b/src/components/tab_switcher/tab_switcher.scss @@ -65,14 +65,8 @@ overflow-y: auto; overflow-x: hidden; flex-direction: column; - &::after { - flex: 1 1 auto; - } - &::before { - flex: 0 0 auto; - height: 0.5em; - } &::after, &::before { + flex: 1 0 .5em; content: ''; border-right: 1px solid; border-right-color: $fallback--border;