mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
refactor: replace button elements with Button component for improved consistency and styling across additional UI components
This commit is contained in:
parent
13b2e874f6
commit
c77babf39b
25 changed files with 148 additions and 92 deletions
|
|
@ -330,8 +330,15 @@ const PendingScreenImageStrip: FC = () => {
|
|||
key={url}
|
||||
className="group relative h-14 w-14 shrink-0 overflow-hidden rounded-md border border-border/50 bg-muted"
|
||||
>
|
||||
{/* biome-ignore lint/performance/noImgElement: data URL thumbnails from capture */}
|
||||
<img src={url} alt="" className="size-full object-cover" draggable={false} />
|
||||
<Image
|
||||
src={url}
|
||||
alt="Pending screenshot preview"
|
||||
fill
|
||||
sizes="56px"
|
||||
className="object-cover"
|
||||
draggable={false}
|
||||
unoptimized
|
||||
/>
|
||||
<Button
|
||||
type="button"
|
||||
onClick={() => setUrls((prev) => prev.filter((_, i) => i !== index))}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue