chore: update the plugin install dropdown styling

pull/12372/head
Yi 1 year ago
parent 6c47e0b5d1
commit 117b0f20dd

@ -81,7 +81,7 @@ const InstallPluginDropdown = ({
onChange={handleFileChange} onChange={handleFileChange}
accept='.difypkg' accept='.difypkg'
/> />
<div className='p-1 w-full'> <div className='w-full'>
{[ {[
...( ...(
(enable_marketplace || true) (enable_marketplace || true)
@ -93,7 +93,7 @@ const InstallPluginDropdown = ({
].map(({ icon: Icon, text, action }) => ( ].map(({ icon: Icon, text, action }) => (
<div <div
key={action} key={action}
className='flex items-center w-full px-2 py-1.5 gap-1 rounded-lg hover:bg-state-base-hover cursor-pointer' className='flex items-center w-full px-2 py-1.5 gap-1 rounded-lg hover:bg-state-base-hover !cursor-pointer'
onClick={() => { onClick={() => {
if (action === 'local') { if (action === 'local') {
fileInputRef.current?.click() fileInputRef.current?.click()

Loading…
Cancel
Save