Skip to content

Commit 967f4dc

Browse files
authored
fix(color-select-panel): 颜色类型选择下拉框样式异常 (#3575)
1 parent 8711a32 commit 967f4dc

File tree

2 files changed

+3
-3
lines changed
  • packages

2 files changed

+3
-3
lines changed

packages/theme/src/color-select-panel/index.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
&__tools {
2020
display: flex;
21-
line-height: var(--tv-ColorSelectPanel-tools-line-height);
21+
margin: 6px 0;
2222

2323
.tiny-input {
2424
flex: 1 0 0;
@@ -135,4 +135,4 @@
135135
}
136136
}
137137
}
138-
}
138+
}

packages/vue/src/color-select-panel/src/pc.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<alpha-select v-if="alpha" :color="state.color" @ready="onAlphaReady" />
55
<div class="tiny-color-select-panel__tools">
66
<div class="tiny-color-select-panel__tools__format-select" v-if="state.formats.length">
7-
<tiny-select v-model="state.currentFormat">
7+
<tiny-select v-model="state.currentFormat" size="small">
88
<tiny-option
99
v-for="formatValue in state.formats"
1010
:key="formatValue"

0 commit comments

Comments
 (0)