Skip to content

Commit

Permalink
fix(tile): remove display: block on image slot (#1928)
Browse files Browse the repository at this point in the history
* fix(tile): remove display rule on image slotted element

* chore(tile): add changeset
  • Loading branch information
zeroedin authored Sep 26, 2024
1 parent 30b3471 commit 1a752c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shaggy-foxes-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

`<rh-tile>`: corrected layout when rendering some image slotted elements
1 change: 0 additions & 1 deletion elements/rh-tile/rh-tile.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
}

& ::slotted([slot='image']) {
display: block;
max-width: 100%;
margin-top: 0;
margin-bottom: var(--_padding);
Expand Down

0 comments on commit 1a752c7

Please sign in to comment.