Skip to content

Commit 1c2e7a9

Browse files
committed
fixed spacing for secondary actions and truncated text
1 parent a9f1300 commit 1c2e7a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ $disabled-fade: 0.6;
195195
display: flex;
196196
flex-wrap: nowrap;
197197
width: 100%;
198+
margin: 0 var(--p-space-1);
198199
}
199200

200201
.Text {
@@ -216,7 +217,6 @@ $disabled-fade: 0.6;
216217
display: flex;
217218
align-items: center;
218219
height: nav(mobile-height);
219-
margin-right: var(--p-space-1);
220220
padding: var(--p-space-1) var(--p-space-4);
221221
border-radius: var(--p-border-radius-1);
222222

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $nav-animation-variables: (
2828
align-items: flex-start;
2929
max-width: 100%;
3030
padding: 0 var(--p-space-1) 0 var(--p-space-3);
31-
margin: 0 var(--p-space-2);
31+
margin-left: var(--p-space-1);
3232
border-radius: var(--p-border-radius-1);
3333
color: var(--p-text);
3434
text-decoration: none;

0 commit comments

Comments
 (0)