Skip to content

Commit

Permalink
Update styling for empty button and date picker icon (#1342) (#1348)
Browse files Browse the repository at this point in the history
* update styling for empty button and date picker icon

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* move line-height to empty button class

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* update changelog

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* remove specificity for QuickSelectPopover

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* fix formatting in for calc

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

---------

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
(cherry picked from commit d2bea6f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 80ffcf3 commit a4a1003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/button/button_empty/_button_empty.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a4a1003

Please sign in to comment.