diff options
author | Balaji Vijayakumar <kuttibalaji.v6@gmail.com> | 2021-11-09 13:57:58 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 13:57:58 +0530 |
commit | 62684453ad35e00d704be7b781c98ffc335dd293 (patch) | |
tree | e6353c5556c14d5a35ad36c071807c4c81723cb7 /src/features | |
parent | fix: move 'cld' back from 'optionalDeps' to fix issue (#2195) (diff) | |
download | ferdium-app-62684453ad35e00d704be7b781c98ffc335dd293.tar.gz ferdium-app-62684453ad35e00d704be7b781c98ffc335dd293.tar.zst ferdium-app-62684453ad35e00d704be7b781c98ffc335dd293.zip |
fix: icon alignment for horizontal bar (#2179)
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/appearance/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/features/appearance/index.ts b/src/features/appearance/index.ts index 21c9554ed..aa40a5f52 100644 --- a/src/features/appearance/index.ts +++ b/src/features/appearance/index.ts | |||
@@ -123,7 +123,7 @@ function generateServiceRibbonWidthStyle(widthStr, iconSizeStr, vertical, isLabe | |||
123 | const tabItemWidthBias = 2; | 123 | const tabItemWidthBias = 2; |
124 | 124 | ||
125 | switch(width){ | 125 | switch(width){ |
126 | case (35): | 126 | case (35): |
127 | fontSize = 9; | 127 | fontSize = 9; |
128 | tabItemHeightBias = 25; | 128 | tabItemHeightBias = 25; |
129 | sidebarSizeBias = 48; | 129 | sidebarSizeBias = 48; |
@@ -171,8 +171,8 @@ function generateServiceRibbonWidthStyle(widthStr, iconSizeStr, vertical, isLabe | |||
171 | overflow: hidden !important; | 171 | overflow: hidden !important; |
172 | } | 172 | } |
173 | .tab-item { | 173 | .tab-item { |
174 | width: ${width - tabItemWidthBias}px !important; | 174 | height: ${width - tabItemWidthBias}px !important; |
175 | height: ${width + iconSize + tabItemHeightBias}px !important; | 175 | width: ${width + iconSize + tabItemHeightBias}px !important; |
176 | min-height: unset; | 176 | min-height: unset; |
177 | overflow: hidden !important; | 177 | overflow: hidden !important; |
178 | } | 178 | } |