Skip to content

Commit

Permalink
fix: #554 time date picker icon size (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxy0551 authored Mar 19, 2024
1 parent 0950f0a commit 4e0f633
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions theme/dt-theme/default/datepicker.less
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,17 @@
}
}
}

// TimePicker
.ant-picker-suffix {
.anticon-clock-circle, .anticon-calendar {
font-size: 16px;
}
}

.ant-picker-clear {
// 需要设置同样大小,如果 clear 图标小一点的话,会无法覆盖下方的时钟、日期图标,导致 hover 时显示错位
.anticon-close-circle {
font-size: 16px;
}
}

0 comments on commit 4e0f633

Please sign in to comment.