File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
polaris.shopify.com/src/components/IconGrid Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' polaris.shopify.com ' : patch
3
+ ---
4
+
5
+ Fixed icon page layout
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ function IconGridItem({
47
47
< li key = { id } >
48
48
< Link
49
49
legacyBehavior
50
+ passHref
50
51
href = { {
51
52
pathname : '/icons' ,
52
53
query : {
@@ -55,14 +56,14 @@ function IconGridItem({
55
56
} ,
56
57
} }
57
58
scroll = { false }
58
- className = { className (
59
- styles . Icon ,
60
- activeIcon === id && styles . isSelected ,
61
- ) }
62
59
id = { icon . id }
63
60
{ ...searchAttributes }
64
61
>
65
62
< a
63
+ className = { className (
64
+ styles . Icon ,
65
+ activeIcon === id && styles . isSelected ,
66
+ ) }
66
67
onClick = { ( ) =>
67
68
customOnClick &&
68
69
customOnClick ( searchTerm , rank , `/icons?icon=${ id } ` )
You can’t perform that action at this time.
0 commit comments