Skip to content

Commit

Permalink
Update styling for empty button and date picker icon (#1342)
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 <[email protected]>

* move line-height to empty button class

Signed-off-by: Shenoy Pratik <[email protected]>

* update changelog

Signed-off-by: Shenoy Pratik <[email protected]>

* remove specificity for QuickSelectPopover

Signed-off-by: Shenoy Pratik <[email protected]>

* fix formatting in for calc

Signed-off-by: Shenoy Pratik <[email protected]>

---------

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

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
github-actions[bot] committed Aug 16, 2024
1 parent 182171f commit 75b0407
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 75b0407

Please sign in to comment.