We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67620dd commit 7306485Copy full SHA for 7306485
.changeset/tidy-waves-live.md
@@ -2,4 +2,4 @@
2
'@shopify/polaris': minor
3
---
4
5
-A new prop has been added (truncateText) to allow navigation item text to be truncated instead of flowing onto multiple lines
+Added `truncateText` prop to `Navigation.Item` to prevent text wrapping
polaris-react/src/components/Navigation/Navigation.scss
@@ -93,9 +93,7 @@ $disabled-fade: 0.6;
93
@include nav-item-attributes;
94
position: relative;
95
96
- &:first-child {
97
- margin-inline-start: var(--p-space-2);
98
- }
+ margin-inline-start: var(--p-space-2);
99
100
&:last-child {
101
margin-inline-end: var(--p-space-2);
0 commit comments