From b3f04681dbcbb447512d86debe4c4cee34416c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E6=9E=AB?= <7971419+crazyair@users.noreply.github.com> Date: Tue, 12 Sep 2023 17:17:48 +0800 Subject: [PATCH] fix(DatePicker): disabled style is overridden in Form hover (#44779) * fix: css * chore: change size --- components/date-picker/style/status.less | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/date-picker/style/status.less b/components/date-picker/style/status.less index 8d59a38af2a5..7edb73c18b42 100644 --- a/components/date-picker/style/status.less +++ b/components/date-picker/style/status.less @@ -11,7 +11,7 @@ ) { &.@{picker-prefix-cls} { &, - &:not([disabled]):hover { + &:not(.@{picker-prefix-cls}-disabled):hover { background-color: @background-color; border-color: @border-color; } diff --git a/package.json b/package.json index 11e5d1f25f08..310b2f7c085a 100644 --- a/package.json +++ b/package.json @@ -313,7 +313,7 @@ "size-limit": [ { "path": "./dist/antd.min.js", - "limit": "285 KiB" + "limit": "286 KiB" }, { "path": "./dist/antd.min.css", @@ -335,7 +335,7 @@ "bundlesize": [ { "path": "./dist/antd.min.js", - "maxSize": "285 kB" + "maxSize": "286 kB" }, { "path": "./dist/antd.min.css",