diff --git a/packages/abc/st/style/index.less b/packages/abc/st/style/index.less index 4a6a2adc5f..5e05c316cc 100644 --- a/packages/abc/st/style/index.less +++ b/packages/abc/st/style/index.less @@ -95,8 +95,7 @@ right: 0; bottom: 0; display: flex; - align-items: center; - justify-items: center; + place-items: center center; } .@{ant-prefix}-table-filter-trigger { diff --git a/packages/theme/layout-default/style/_aside.less b/packages/theme/layout-default/style/_aside.less index b80c4e1a37..2f850cef7b 100644 --- a/packages/theme/layout-default/style/_aside.less +++ b/packages/theme/layout-default/style/_aside.less @@ -28,8 +28,7 @@ &-inner { flex: 1 1 0%; - overflow-x: hidden; - overflow-y: scroll; + overflow-x: hidden scroll; -webkit-overflow-scrolling: touch; scroll-snap-type: proximity; scroll-snap-points-x: snaplist(100%, 200%, 300%, 400%, 500%); diff --git a/packages/theme/system/utils/_scrollbar.less b/packages/theme/system/utils/_scrollbar.less index 779861378a..237aea03c7 100644 --- a/packages/theme/system/utils/_scrollbar.less +++ b/packages/theme/system/utils/_scrollbar.less @@ -29,13 +29,11 @@ overflow: auto; &-x { - overflow-x: auto; - overflow-y: hidden; + overflow: auto hidden; } &-y { - overflow-x: hidden; - overflow-y: auto; + overflow: hidden auto; } }