diff --git a/packages/theme/src/base/reset.less b/packages/theme/src/base/reset.less index 60063b3896..479e10d531 100644 --- a/packages/theme/src/base/reset.less +++ b/packages/theme/src/base/reset.less @@ -34,6 +34,15 @@ color: var(--tv-color-text-active) !important; } +// 图标的默认样式 +.@{svg-prefix-cls} { + width: 1em; + height: 1em; + vertical-align: middle; + overflow: hidden; + display: inline-block; +} + [class*=~'@{css-prefix}'] { -webkit-box-sizing: border-box; box-sizing: border-box; @@ -123,12 +132,6 @@ padding: 0; } - // 清除IE - input::-ms-clear, - input::-ms-reveal { - display: none; - } - button::-moz-focus-inner, input::-moz-focus-inner { border: 0; diff --git a/packages/theme/src/svg/index.less b/packages/theme/src/svg/index.less deleted file mode 100644 index 20def88772..0000000000 --- a/packages/theme/src/svg/index.less +++ /dev/null @@ -1,23 +0,0 @@ -/** -* Copyright (c) 2022 - present TinyVue Authors. -* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd. -* -* Use of this source code is governed by an MIT-style license. -* -* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, -* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR -* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. -* -*/ - -@import '../custom.less'; - -@svg-prefix-cls: ~'@{css-prefix}svg'; - -.@{svg-prefix-cls} { - width: 1em; - height: 1em; - vertical-align: middle; - overflow: hidden; - display: inline-block; -}