mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
style(components): [date-picker] text and icons are vertical misaligned (#23110)
* style(components): [date-picker] text and icons are vertical misaligned * fix: keep padding
This commit is contained in:
@@ -88,11 +88,13 @@
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
line-height: 1;
|
||||
margin-top: 8px;
|
||||
padding: 1px 6px;
|
||||
|
||||
&:hover {
|
||||
color: getCssVar('datepicker-hover-text-color');
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
color: getCssVar('datepicker-hover-text-color');
|
||||
}
|
||||
@@ -115,12 +117,15 @@
|
||||
@include e(prev-btn) {
|
||||
@include disable;
|
||||
}
|
||||
|
||||
@include e(next-btn) {
|
||||
@include disable;
|
||||
}
|
||||
|
||||
@include e(icon-btn) {
|
||||
@include disable;
|
||||
}
|
||||
|
||||
@include e(shortcut) {
|
||||
@include disable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user