Skip to content

Commit 7306485

Browse files
committed
updated changeset copy
1 parent 67620dd commit 7306485

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.changeset/tidy-waves-live.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@shopify/polaris': minor
33
---
44

5-
A new prop has been added (truncateText) to allow navigation item text to be truncated instead of flowing onto multiple lines
5+
Added `truncateText` prop to `Navigation.Item` to prevent text wrapping

polaris-react/src/components/Navigation/Navigation.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ $disabled-fade: 0.6;
9393
@include nav-item-attributes;
9494
position: relative;
9595

96-
&:first-child {
97-
margin-inline-start: var(--p-space-2);
98-
}
96+
margin-inline-start: var(--p-space-2);
9997

10098
&:last-child {
10199
margin-inline-end: var(--p-space-2);

0 commit comments

Comments
 (0)