File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
polaris-react/src/components/Navigation Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @shopify/polaris ' : patch
3
+ ---
4
+
5
+ Fix border radius on active/pressed navigation items
Original file line number Diff line number Diff line change @@ -113,6 +113,14 @@ $disabled-fade: 0.6;
113
113
@include nav-item-attributes ;
114
114
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
115
115
position : relative ;
116
+
117
+ border-radius : var (--p-border-radius-1 );
118
+
119
+ & :is (:hover , :focus-visible ) {
120
+ background : var (--p-background-hovered );
121
+ color : var (--p-text );
122
+ text-decoration : none ;
123
+ }
116
124
}
117
125
118
126
.Item-selected {
@@ -236,13 +244,6 @@ $disabled-fade: 0.6;
236
244
flex-wrap : nowrap ;
237
245
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
238
246
width : 100% ;
239
- border-radius : var (--p-border-radius-1 );
240
-
241
- & :hover {
242
- background : var (--p-background-hovered );
243
- color : var (--p-text );
244
- text-decoration : none ;
245
- }
246
247
247
248
& .ItemInnerDisabled {
248
249
pointer-events : none ;
You can’t perform that action at this time.
0 commit comments