@@ -92,12 +92,12 @@ const ContextMenu = () => {
92
92
< ContextMenuPrimitive . Item
93
93
key = { `context-item-${ label } ` }
94
94
className = { clsx (
95
- "flex cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-none " ,
95
+ "flex cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-hidden " ,
96
96
"text-gray-400 focus:bg-gray-50 dark:text-gray-500 dark:focus:bg-gray-900"
97
97
) }
98
98
>
99
99
{ icon }
100
- < span className = "flex- grow text-gray-700 dark:text-gray-300" >
100
+ < span className = "grow text-gray-700 dark:text-gray-300" >
101
101
{ label }
102
102
</ span >
103
103
{ shortcut && < span className = "text-xs" > { shortcut } </ span > }
@@ -114,7 +114,7 @@ const ContextMenu = () => {
114
114
}
115
115
} }
116
116
className = { clsx (
117
- "flex w-full cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-none " ,
117
+ "flex w-full cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-hidden " ,
118
118
"text-gray-400 focus:bg-gray-50 dark:text-gray-500 dark:focus:bg-gray-900"
119
119
) }
120
120
>
@@ -123,7 +123,7 @@ const ContextMenu = () => {
123
123
) : (
124
124
< TransparencyGridIcon className = "mr-2 h-3.5 w-3.5 text-gray-700 dark:text-gray-300" />
125
125
) }
126
- < span className = "flex- grow text-gray-700 dark:text-gray-300" >
126
+ < span className = "grow text-gray-700 dark:text-gray-300" >
127
127
Show Grid
128
128
</ span >
129
129
< ContextMenuPrimitive . ItemIndicator >
@@ -139,7 +139,7 @@ const ContextMenu = () => {
139
139
}
140
140
} }
141
141
className = { clsx (
142
- "flex w-full cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-none " ,
142
+ "flex w-full cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-hidden " ,
143
143
"text-gray-400 focus:bg-gray-50 dark:text-gray-500 dark:focus:bg-gray-900"
144
144
) }
145
145
>
@@ -148,7 +148,7 @@ const ContextMenu = () => {
148
148
) : (
149
149
< EyeClosedIcon className = "mr-2 h-3.5 w-3.5" />
150
150
) }
151
- < span className = "flex- grow text-gray-700 dark:text-gray-300" >
151
+ < span className = "grow text-gray-700 dark:text-gray-300" >
152
152
Show UI
153
153
</ span >
154
154
< ContextMenuPrimitive . ItemIndicator >
@@ -166,12 +166,12 @@ const ContextMenu = () => {
166
166
< ContextMenuPrimitive . Item
167
167
key = { `region-tool-menu-item-${ label } ` }
168
168
className = { clsx (
169
- "flex cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-none " ,
169
+ "flex cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-hidden " ,
170
170
"text-gray-400 focus:bg-gray-50 dark:text-gray-500 dark:focus:bg-gray-900"
171
171
) }
172
172
>
173
173
{ icon }
174
- < span className = "flex- grow text-gray-700 dark:text-gray-300" >
174
+ < span className = "grow text-gray-700 dark:text-gray-300" >
175
175
{ label }
176
176
</ span >
177
177
{ shortcut && < span className = "text-xs" > { shortcut } </ span > }
@@ -183,12 +183,12 @@ const ContextMenu = () => {
183
183
< ContextMenuPrimitive . Sub >
184
184
< ContextMenuPrimitive . SubTrigger
185
185
className = { clsx (
186
- "flex w-full cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-none " ,
186
+ "flex w-full cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-hidden " ,
187
187
"text-gray-400 focus:bg-gray-50 dark:text-gray-500 dark:focus:bg-gray-900"
188
188
) }
189
189
>
190
190
< Link2Icon className = "mr-2 h-3.5 w-3.5" />
191
- < span className = "flex- grow text-gray-700 dark:text-gray-300" >
191
+ < span className = "grow text-gray-700 dark:text-gray-300" >
192
192
Share
193
193
</ span >
194
194
< CaretRightIcon className = "h-3.5 w-3.5" />
@@ -205,7 +205,7 @@ const ContextMenu = () => {
205
205
< ContextMenuPrimitive . Item
206
206
key = { `context-menu-primitive-item-${ name } ` }
207
207
className = { clsx (
208
- "flex w-28 cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-none md:w-32" ,
208
+ "flex w-28 cursor-default select-none items-center rounded-md px-2 py-2 text-xs outline-hidden md:w-32" ,
209
209
"text-gray-400 focus:bg-gray-50 dark:text-gray-500 dark:focus:bg-gray-900"
210
210
) }
211
211
>
0 commit comments