diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ea6dd766..013d71114 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ ### 🐛 Bug Fixes - Fixes combobox height with appendees ([#1338](https://github.com/opensearch-project/oui/pull/1338)) +- Update styling for empty button and date picker icon ([#1342](https://github.com/opensearch-project/oui/pull/1342)) ### 🚞 Infrastructure diff --git a/src/components/button/button_empty/_button_empty.scss b/src/components/button/button_empty/_button_empty.scss index d18a7bb3d..a09c4566c 100644 --- a/src/components/button/button_empty/_button_empty.scss +++ b/src/components/button/button_empty/_button_empty.scss @@ -25,6 +25,7 @@ animation: none !important; /* 1 */ transition-timing-function: ease-in; /* 2 */ transition-duration: $ouiAnimSpeedFast; /* 2 */ + line-height: inherit; .ouiButtonEmpty__content { padding: 0 $ouiSizeS; diff --git a/src/components/date_picker/super_date_picker/quick_select_popover/_quick_select_popover.scss b/src/components/date_picker/super_date_picker/quick_select_popover/_quick_select_popover.scss index c9e53c67c..3a368bae3 100644 --- a/src/components/date_picker/super_date_picker/quick_select_popover/_quick_select_popover.scss +++ b/src/components/date_picker/super_date_picker/quick_select_popover/_quick_select_popover.scss @@ -25,7 +25,7 @@ // sass-lint:disable no-important .ouiQuickSelectPopover__buttonText { // Override specificity from universal and sibling selectors - margin-right: $ouiSizeXS !important; + margin-right: calc($ouiSizeXS / 2) !important; } .ouiQuickSelectPopover__anchor {