Skip to content

Commit

Permalink
fix(button): host display contents (#1838)
Browse files Browse the repository at this point in the history
* fix(button): remove override of host display inline-block

* chore(button): add changeset

* fix(button): remove orphaned style
  • Loading branch information
zeroedin authored Sep 8, 2024
1 parent 90ab2dd commit fecbe5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/selfish-spies-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

`<rh-button>`: corrected style issue which caused layout side effects
5 changes: 0 additions & 5 deletions elements/rh-button/rh-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,6 @@ button > span {
--_play-hover-background-color: rgb(var(--_white-rgb) / var(--rh-opacity-80, 80%));
}

:host,
#rhds-container {
display: contents;
}

:host([hidden]),
[hidden] {
display: none !important;
Expand Down

0 comments on commit fecbe5d

Please sign in to comment.