File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/components/NcDateTimePicker Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -580,6 +580,7 @@ function cancelSelection() {
580580 :aria-labels
581581 :auto-apply =" !confirm"
582582 class =" vue-date-time-picker"
583+ :class =" { 'vue-date-time-picker--clearable': clearable }"
583584 :cancel-text =" t('Cancel')"
584585 :clearable
585586 :day-names
@@ -671,7 +672,7 @@ function cancelSelection() {
671672 --dp-cell-padding : 5px ;
672673 --dp-common-padding : 10px ;
673674 --dp-input-icon-padding : var (--default-clickable-area );
674- --dp-input-padding : 6px 30 px 6 px 12px ;
675+ --dp-input-padding : 6px 12px ;
675676 --dp-menu-min-width : 260px ;
676677 --dp-action-buttons-padding : 1px 6px ;
677678 --dp-row-margin : 5px 0 ;
@@ -692,6 +693,10 @@ function cancelSelection() {
692693 @include meta .load-css (' @vuepic/vue-datepicker/dist/main.css' );
693694 }
694695
696+ .vue-date-time-picker--clearable :deep(.dp__input ) {
697+ padding-inline-end : var (--default-clickable-area );
698+ }
699+
695700 .vue-date-time-picker__timezone {
696701 min-width : unset ;
697702 width : 100% ;
You can’t perform that action at this time.
0 commit comments