Skip to content

Commit 0ba1db2

Browse files
committed
fix(card): 修复card组件样式污染全局问题
1 parent 52c6c34 commit 0ba1db2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

packages/theme/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opentiny/vue-theme",
3-
"version": "3.17.0",
3+
"version": "3.17.1",
44
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
55
"main": "index.css",
66
"homepage": "https://opentiny.design/tiny-vue",

packages/theme/src/card/index.less

+8-8
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@
9999
right: 0px;
100100
top: 0;
101101
border-bottom: 40px solid transparent;
102-
border-right: 40px solid #1476FF;
102+
border-right: 40px solid #1476ff;
103103
border-top-right-radius: 6px;
104104
display: var(--ti-checkbox-button-checked-display);
105105
}
106-
106+
107107
&.@{card-prefix-cls}--item-checkbox-checked::before {
108108
display: var(--ti-checkbox-button-checked-display);
109109
right: 5px;
@@ -289,12 +289,12 @@
289289
}
290290
}
291291
}
292-
}
293292

294-
.@{input-prefix-cls} {
295-
&__inner{
296-
border: none;
297-
border-radius: 6px;
298-
background-color: #FAFAFA;
293+
.@{input-prefix-cls} {
294+
&__inner {
295+
border: none;
296+
border-radius: 6px;
297+
background-color: #fafafa;
298+
}
299299
}
300300
}

0 commit comments

Comments
 (0)