From e14ec001a11d083e3c4520b5b6c68791e4e57fa3 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 22 Apr 2022 16:01:20 +0800 Subject: [PATCH] fix: small/middle table selection dropdown margin issue (#35174) * fix: small/middle table selection dropdown margin issue * Update index.less --- components/table/style/index.less | 2 +- components/table/style/size.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/table/style/index.less b/components/table/style/index.less index 68ab41591a..cf49f1d4c2 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -456,7 +456,7 @@ cursor: pointer; transition: all 0.3s; margin-inline-start: 100%; - padding-inline-start: @table-padding-horizontal-md / 4; + padding-inline-start: (@table-padding-horizontal / 4); .@{iconfont-css-prefix} { color: @table-header-icon-color; diff --git a/components/table/style/size.less b/components/table/style/size.less index b64d3bb710..2f864ade48 100644 --- a/components/table/style/size.less +++ b/components/table/style/size.less @@ -35,7 +35,7 @@ // https://github.com/ant-design/ant-design/issues/35167 .@{table-prefix-cls}-selection-column { - padding-inline-start: @padding-horizontal / 4; + padding-inline-start: (@padding-horizontal / 4); } } }