File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -162,8 +162,6 @@ const ExtensionStore = () => {
162
162
) ;
163
163
164
164
useKeyPress ( [ "uparrow" , "downarrow" ] , ( _ , key ) => {
165
- console . log ( "visibleContextMenu" , visibleContextMenu ) ;
166
-
167
165
if ( visibleContextMenu || visibleExtensionDetail ) return ;
168
166
169
167
const index = list . findIndex ( ( item ) => item . id === selectedExtension ?. id ) ;
@@ -279,7 +277,7 @@ const ExtensionStore = () => {
279
277
< div
280
278
key = { id }
281
279
className = { clsx (
282
- "flex justify-between h-[40px] px-2 rounded-lg cursor-pointer text-[#333] dark:text-[#d8d8d8] transition" ,
280
+ "flex justify-between gap-4 h-[40px] px-2 rounded-lg cursor-pointer text-[#333] dark:text-[#d8d8d8] transition" ,
283
281
{
284
282
"bg-black/10 dark:bg-white/15" :
285
283
selectedExtension ?. id === id ,
@@ -297,10 +295,10 @@ const ExtensionStore = () => {
297
295
setVisibleContextMenu ( true ) ;
298
296
} }
299
297
>
300
- < div className = "flex items-center gap-2" >
298
+ < div className = "flex items-center gap-2 overflow-hidden " >
301
299
< img src = { icon } className = "size-[20px]" />
302
- < span > { name } </ span >
303
- < span className = "text-[#999]" > { description } </ span >
300
+ < span className = "whitespace-nowrap" > { name } </ span >
301
+ < span className = "truncate text-[#999]" > { description } </ span >
304
302
</ div >
305
303
306
304
< div className = "flex items-center gap-3" >
You can’t perform that action at this time.
0 commit comments