aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher/tab_switcher.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-05-24 02:06:55 +0300
committerHenry Jameson <me@hjkos.com>2020-05-24 02:06:55 +0300
commitab74cd497205d5964db38d56f6f70fb727c60d78 (patch)
tree6a474957da1c5dbc3f9d7e0bbfca574249d6ba4a /src/components/tab_switcher/tab_switcher.scss
parentbcebec478e43b3851e85c94335940e8fc7546cc8 (diff)
Multiple fixes for CSS, added proper auth checking
Diffstat (limited to 'src/components/tab_switcher/tab_switcher.scss')
-rw-r--r--src/components/tab_switcher/tab_switcher.scss8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/tab_switcher/tab_switcher.scss b/src/components/tab_switcher/tab_switcher.scss
index a7b790a3..c9050781 100644
--- a/src/components/tab_switcher/tab_switcher.scss
+++ b/src/components/tab_switcher/tab_switcher.scss
@@ -59,7 +59,6 @@
flex: 1 0 auto;
overflow-y: auto;
overflow-x: hidden;
- padding-top: 5px;
flex-direction: column;
&::after {
content: '';
@@ -78,6 +77,9 @@
border-right-color: $fallback--border;
border-right-color: var(--border, $fallback--border);
}
+ &:last-child .tab {
+ margin-bottom: 0;
+ }
}
.tab {
box-sizing: content-box;
@@ -87,8 +89,8 @@
min-width: 1px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
- // padding-right: 200px;
- // margin-right: 6px - 200px;
+ padding-right: calc(1em + 200px);
+ margin-right: 6px - 200px;
margin-left: 6px;
}