diff --git a/components/drawer/style/drawer.less b/components/drawer/style/drawer.less index 7ade50c46d..5ffa1ca355 100644 --- a/components/drawer/style/drawer.less +++ b/components/drawer/style/drawer.less @@ -185,6 +185,7 @@ .@{drawer-prefix-cls}-header-no-title & { margin-right: var(--scroll-bar); + /* stylelint-disable-next-line function-calc-no-invalid */ padding-right: calc(@drawer-header-close-padding - var(--scroll-bar)); } }