mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
fix(input): round border radius
This commit is contained in:
parent
95593d90f3
commit
44b0efd9c5
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div
|
||||
ref="triggerRef"
|
||||
:class="{
|
||||
[`n-${mergedTheme}-theme`]: mergedTheme,
|
||||
'n-date-picker--disabled': disabled,
|
||||
@ -8,14 +9,11 @@
|
||||
'n-date-picker--start-invalid': isStartValueInvalid,
|
||||
'n-date-picker--end-invalid': isEndValueInvalid
|
||||
}"
|
||||
>
|
||||
<v-binder>
|
||||
<v-target>
|
||||
<div
|
||||
ref="triggerRef"
|
||||
class="n-date-picker"
|
||||
@keydown="handleKeyDown"
|
||||
>
|
||||
<v-binder>
|
||||
<v-target>
|
||||
<n-input
|
||||
v-if="isRange"
|
||||
ref="inputRef"
|
||||
@ -73,7 +71,6 @@
|
||||
</n-icon>
|
||||
</template>
|
||||
</n-input>
|
||||
</div>
|
||||
</v-target>
|
||||
<v-follower
|
||||
:show="active"
|
||||
|
@ -65,7 +65,7 @@ export default c([
|
||||
cursor: 'not-allowed',
|
||||
backgroundColor: colorDisabled
|
||||
}, [
|
||||
cE('state-border', {
|
||||
cE('border', {
|
||||
border: borderDisabled
|
||||
}),
|
||||
cE('input, textarea', {
|
||||
|
@ -97,7 +97,7 @@ export default c([
|
||||
left: paddingLeft,
|
||||
right: paddingRight
|
||||
}),
|
||||
cE('box-shadow, border', {
|
||||
cE('box-shadow, border, state-border', {
|
||||
borderRadius: roundBorderRadius
|
||||
})
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user