From 53ee5be4d2c6226a9ae299aceffe0f50c4f7d116 Mon Sep 17 00:00:00 2001 From: André Oliveira Date: Mon, 2 May 2022 11:14:22 +0100 Subject: Fix height of tab items in relation to width for Normal Sidebar --- src/features/appearance/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/features') diff --git a/src/features/appearance/index.ts b/src/features/appearance/index.ts index faf7ffd37..094d93dcc 100644 --- a/src/features/appearance/index.ts +++ b/src/features/appearance/index.ts @@ -129,7 +129,7 @@ function generateServiceRibbonWidthStyle( let fontSize = 11; let tabItemHeightBias = -5; let sidebarSizeBias = 22; - const tabItemWidthBias = 2; + const tabItemWidthBias = 3; switch (width) { case 35: @@ -223,7 +223,7 @@ function generateServiceRibbonWidthStyle( } .tab-item { width: ${width}px !important; - height: min-content !important; + height: ${width - tabItemWidthBias}px !important; } .tab-item .tab-item__icon { width: ${minimumAdjustedIconSize}px !important; -- cgit v1.2.3-54-g00ecf