From aac9cb8b23d6d33490187226d96db1290e5c9300 Mon Sep 17 00:00:00 2001 From: QiShaoXuan Date: Tue, 7 Feb 2023 17:49:16 +0800 Subject: [PATCH] fix: modify slide bar font size, fixed #812 --- packages/app/src/components/workspace-slider-bar/style.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/app/src/components/workspace-slider-bar/style.ts b/packages/app/src/components/workspace-slider-bar/style.ts index 49aa10a608..d285213ffb 100644 --- a/packages/app/src/components/workspace-slider-bar/style.ts +++ b/packages/app/src/components/workspace-slider-bar/style.ts @@ -58,7 +58,6 @@ export const StyledListItem = styled.div<{ width: '296px', height: '32px', marginTop: '12px', - fontSize: theme.font.sm, color: active ? theme.colors.primaryColor : theme.colors.popoverColor, paddingLeft: '12px', borderRadius: '5px', @@ -122,9 +121,8 @@ export const StyledSubListItem = styled.button<{ width: '296px', height: '32px', marginTop: '4px', - fontSize: theme.font.sm, color: disable - ? theme.colors.iconColor + ? theme.colors.disableColor : active ? theme.colors.primaryColor : theme.colors.popoverColor,