🧑‍🎨 style: Remove Plugins Icon Background (#2368)

This commit is contained in:
matt burnett 2024-04-10 07:30:56 -04:00 committed by GitHub
parent e4c07eb895
commit f64a2cb0b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 7 deletions

View file

@ -28,7 +28,7 @@ function PluginStoreItem({ plugin, onInstall, onUninstall, isInstalled }: TPlugi
<img
src={plugin.icon}
alt={`${plugin.name} logo`}
className="h-full w-full rounded-[5px] bg-white"
className="h-full w-full rounded-[5px]"
/>
<div className="absolute inset-0 rounded-[5px] ring-1 ring-inset ring-black/10"></div>
</div>

View file

@ -80,11 +80,7 @@ function MultiSelectPop({
{value.map((v, i) => (
<div key={i} className="relative">
{v.icon ? (
<img
src={v.icon}
alt={`${v} logo`}
className="icon-lg rounded-sm bg-white"
/>
<img src={v.icon} alt={`${v} logo`} className="icon-lg rounded-sm" />
) : (
<Wrench className="icon-lg rounded-sm bg-white" />
)}
@ -141,7 +137,7 @@ function MultiSelectPop({
<img
src={option.icon}
alt={`${option.name} logo`}
className="icon-sm mr-1 rounded-sm bg-white bg-cover dark:bg-gray-800"
className="icon-sm mr-1 rounded-sm bg-cover"
/>
) : (
<Wrench className="icon-sm mr-1 rounded-sm bg-white bg-cover dark:bg-gray-800" />