mirror of
https://github.com/HackPlan/polaris-react.git
synced 2026-01-12 22:44:36 +08:00
[Banner] Break word in title instead of overflowing line
This commit is contained in:
@@ -19,6 +19,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f
|
||||
### Bug fixes
|
||||
|
||||
- Fixed text and other elements from being selected in Safari when dragging the color picker ([#1562](https://github.com/Shopify/polaris-react/pull/1562))
|
||||
- Fixed `Banner` `title` overflowing when set to a single long word ([#1553](https://github.com/Shopify/polaris-react/pull/1553))
|
||||
|
||||
### Documentation
|
||||
|
||||
|
||||
@@ -142,6 +142,7 @@ $secondary-action-horizontal-padding: 1.5 * spacing(tight);
|
||||
|
||||
.Heading {
|
||||
padding-top: $heading-offset;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.Content {
|
||||
|
||||
Reference in New Issue
Block a user