From 27ff917cec3f64ccae9b846d60c4834cbce4fb14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=89=B2?= Date: Mon, 14 Oct 2024 00:12:24 +0700 Subject: [PATCH] fix(theme:default): fix inconsistency of top icon size (#1841) Co-authored-by: cipchk --- packages/theme/layout-default/style/_header.less | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/theme/layout-default/style/_header.less b/packages/theme/layout-default/style/_header.less index 18abc135ec..b8f91f6ded 100644 --- a/packages/theme/layout-default/style/_header.less +++ b/packages/theme/layout-default/style/_header.less @@ -83,7 +83,7 @@ background-color: @alain-default-header-nav-bg-hover; } - > i, + > .anticon, &-icon { // fix ant-dropdown-trigger transform: none !important; @@ -106,7 +106,7 @@ &-disabled { pointer-events: none; - opacity: .5; + opacity: 0.5; } } } @@ -147,7 +147,9 @@ .@{ant-prefix}-input-affix-wrapper { i { color: #fff; - transition: color 300ms, transform 400ms; + transition: + color 300ms, + transform 400ms; } }