Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 8d0bd1e

Browse files
authored
Merge pull request #804 from ghiscoding/bugfix/date-editor-clear-button
fix(editors): date editor close button not showing
2 parents 32f0c97 + 61bc6ca commit 8d0bd1e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/app/modules/angular-slickgrid/styles/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ $date-editor-focus-border-color: $editor-focus-border-color !defa
499499
$date-editor-focus-box-shadow: $editor-focus-box-shadow !default;
500500
$date-editor-height: $editor-input-height !default;
501501
$date-editor-clear-button-icon: "\f00d" !default;
502-
$date-editor-clear-button-icon-margin-top: -14px !default;
502+
$date-editor-clear-button-icon-margin-top: -18px !default;
503503
$date-editor-clear-button-icon-height: initial !default;
504504
$date-editor-clear-button-icon-padding: 6px !default;
505505
$date-editor-clear-button-icon-size: inherit !default;

src/app/modules/angular-slickgrid/styles/slick-editors.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
}
4444

4545
.flatpickr.input-group {
46+
height: $date-editor-height;
4647
.input-group-btn {
4748
.btn {
4849
background-color: #eeeeee;
@@ -52,7 +53,7 @@
5253
border-bottom-right-radius: $text-editor-border-radius;
5354
cursor: pointer;
5455
height: $date-editor-height;
55-
&.icon-close:before {
56+
&.icon-clear:before {
5657
font-family: $icon-font-family;
5758
font-size: $date-editor-clear-button-icon-size;
5859
content: $date-editor-clear-button-icon;

0 commit comments

Comments
 (0)