diff options
author | 2022-06-26 23:56:00 +0200 | |
---|---|---|
committer | 2022-06-26 21:56:00 +0000 | |
commit | ed0f3d4114417ca2a846be60aef9f1b2369d59ea (patch) | |
tree | ff4fcca5ef255c9f9f24b2db8370f693c72e0154 /src/styles/tabs.scss | |
parent | fix: bring the draggable area back on MacOS (#372) (diff) | |
download | ferdium-app-ed0f3d4114417ca2a846be60aef9f1b2369d59ea.tar.gz ferdium-app-ed0f3d4114417ca2a846be60aef9f1b2369d59ea.tar.zst ferdium-app-ed0f3d4114417ca2a846be60aef9f1b2369d59ea.zip |
Reduce tab item layout shift (#376)
* fix: tab item alignment
Remove unnecessary span element to make sure tab items are vertically
centered even if service names are hidden.
* fix: prevent active tab item label shift
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'src/styles/tabs.scss')
-rw-r--r-- | src/styles/tabs.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/styles/tabs.scss b/src/styles/tabs.scss index f2b7235d7..21a5e76ce 100644 --- a/src/styles/tabs.scss +++ b/src/styles/tabs.scss | |||
@@ -49,7 +49,7 @@ | |||
49 | border-left-width: 4px; | 49 | border-left-width: 4px; |
50 | border-left-style: solid; | 50 | border-left-style: solid; |
51 | 51 | ||
52 | .tab-item__icon { | 52 | .tab-item__icon, .tab-item__label { |
53 | margin-left: -4px; | 53 | margin-left: -4px; |
54 | } | 54 | } |
55 | } | 55 | } |