diff --git a/scss/_properties.scss b/scss/_properties.scss index 7088a045a..c863bb17e 100644 --- a/scss/_properties.scss +++ b/scss/_properties.scss @@ -1100,7 +1100,7 @@ --PickerColumns-title-lineHeight: 1.5; --PickerColumns-action-padding: 0 var(--gap-md); --PickerColumns-action-fontSize: var(--fontSizeLg); - --PickerColumns-confirmAction-color: #2468F2; + --PickerColumns-confirmAction-color: #2468f2; --PickerColumns-cancelAction-color: #666; --PickerColumns-option-fontSize: var(--fontSizeLg); --PickerColumns-optionText-color: var(--text-color); @@ -1112,6 +1112,8 @@ --PopOverAble-iconColor: inherit; --PopOverAble-onHover-iconColor: inherit; + --PopUp-cancelAction-color: #666; + --Property-title-bg: #f2f2f2; --Property-label-bg: #f7f7f7; diff --git a/scss/components/_cascader.scss b/scss/components/_cascader.scss index 6c557ccd4..f1a0c60d0 100644 --- a/scss/components/_cascader.scss +++ b/scss/components/_cascader.scss @@ -95,4 +95,8 @@ &-tab { padding: 0; } + + &-btnCancel { + color: var(--PopUp-cancelAction-color); + } } diff --git a/scss/components/_popup.scss b/scss/components/_popup.scss index 7fb834cb4..8dde8fbf4 100644 --- a/scss/components/_popup.scss +++ b/scss/components/_popup.scss @@ -105,6 +105,7 @@ } &-cancel { + color: var(--PopUp-cancelAction-color); margin-left: var(--gap-sm); } diff --git a/scss/components/form/_date-range.scss b/scss/components/form/_date-range.scss index 45e250c9b..b0f1fe31b 100644 --- a/scss/components/form/_date-range.scss +++ b/scss/components/form/_date-range.scss @@ -128,7 +128,7 @@ } .#{$ns}DateRangePicker-popup { - height: 90vh; + height: px2rem(400px); } @include media-breakpoint-up(sm) { diff --git a/scss/components/form/_date.scss b/scss/components/form/_date.scss index 6d9ef0efa..715bd7c97 100644 --- a/scss/components/form/_date.scss +++ b/scss/components/form/_date.scss @@ -123,7 +123,7 @@ } .#{$ns}DatePicker-popup { - height: 80vh; + height: px2rem(300px); } .#{$ns}DatePicker-popup.#{$ns}DatePicker-mobile { diff --git a/src/components/Cascader.tsx b/src/components/Cascader.tsx index 033c81184..0d103fde1 100644 --- a/src/components/Cascader.tsx +++ b/src/components/Cascader.tsx @@ -114,7 +114,6 @@ export class Cascader extends React.Component { }); } - @autobind handleTabSelect(index: number) { const tabs = this.state.tabs.slice(0, index + 1); @@ -543,14 +542,14 @@ export class Cascader extends React.Component {