diff options
Diffstat (limited to 'src/features/appearance/index.ts')
-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 | } |