mirror of
https://github.com/element-plus/element-plus.git
synced 2025-04-06 16:30:35 +08:00
style(components): [date-picker] adjust panel border block & modify css variables (#20337)
* style(components): [date-picker] fix rounded corner display * style(components): [date-picker] add border-radius fallback
This commit is contained in:
parent
8ef07ac296
commit
544d710db7
@ -4,7 +4,10 @@
|
||||
@include b(picker-panel) {
|
||||
color: getCssVar('text-color', 'regular');
|
||||
background: getCssVar('bg-color', 'overlay');
|
||||
border-radius: getCssVar('border-radius-base');
|
||||
border-radius: getCssVarWithDefault(
|
||||
('popper', 'border-radius'),
|
||||
getCssVar('border-radius-base')
|
||||
);
|
||||
line-height: 30px;
|
||||
|
||||
.#{$namespace}-time-panel {
|
||||
@ -119,7 +122,6 @@
|
||||
border-right: 1px solid getCssVar('datepicker-inner-border-color');
|
||||
box-sizing: border-box;
|
||||
padding-top: 6px;
|
||||
background-color: getCssVar('bg-color', 'overlay');
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user