Skip to content

Commit

Permalink
force wrap long lines in Tile.Name (#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank99 authored Dec 23, 2024
1 parent 40689d9 commit 2cf6f37
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/modern-pigs-mix-1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@itwin/itwinui-css': patch
---

Fixed an issue in `iui-tile-name` where a long string without spaces wasn't wrapping properly.
5 changes: 5 additions & 0 deletions .changeset/modern-pigs-mix-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@itwin/itwinui-react': patch
---

Fixed an issue in `Tile.Name` where a long string without spaces wasn't wrapping properly.
1 change: 1 addition & 0 deletions packages/itwinui-css/src/tile/tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ $thumbnail-selector: ':is(.iui-thumbnail-icon, .iui-tile-thumbnail-picture)';
font-size: var(--iui-font-size-2);
color: var(--_iui-tile-title-text-color);
padding-inline: var(--iui-size-s);
overflow-wrap: anywhere;
}

@mixin iui-tile-status-icon {
Expand Down

0 comments on commit 2cf6f37

Please sign in to comment.