aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-05-25 17:18:57 +0300
committerHenry Jameson <me@hjkos.com>2020-05-25 17:18:57 +0300
commitccdbba23485d90d437b0a3a19594faa25ef8833a (patch)
treec6e20ee67bab0beb4bc83e859e0ec9853056136a /src/components/tab_switcher
parentc0fe39af7a817be47f3a80019127ddb74876222e (diff)
Change flex for tab switcher lines to always have some small space reserved
Diffstat (limited to 'src/components/tab_switcher')
-rw-r--r--src/components/tab_switcher/tab_switcher.scss8
1 files changed, 1 insertions, 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;