From 62684453ad35e00d704be7b781c98ffc335dd293 Mon Sep 17 00:00:00 2001 From: Balaji Vijayakumar Date: Tue, 9 Nov 2021 13:57:58 +0530 Subject: fix: icon alignment for horizontal bar (#2179) --- src/features/appearance/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/features/appearance') 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 const tabItemWidthBias = 2; switch(width){ - case (35): + case (35): fontSize = 9; tabItemHeightBias = 25; sidebarSizeBias = 48; @@ -171,8 +171,8 @@ function generateServiceRibbonWidthStyle(widthStr, iconSizeStr, vertical, isLabe overflow: hidden !important; } .tab-item { - width: ${width - tabItemWidthBias}px !important; - height: ${width + iconSize + tabItemHeightBias}px !important; + height: ${width - tabItemWidthBias}px !important; + width: ${width + iconSize + tabItemHeightBias}px !important; min-height: unset; overflow: hidden !important; } -- cgit v1.2.3-54-g00ecf