mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Fix attachment button on dark mode and position
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -65,7 +65,7 @@ export function FileAttachment({
|
||||
size="sm"
|
||||
onClick={handleButtonClick}
|
||||
disabled={disabled}
|
||||
className="h-8 w-8 p-0 rounded-full hover:bg-muted/50"
|
||||
className="h-8 w-8 p-0 rounded-full hover:bg-muted/50 dark:hover:text-sidebar-primary"
|
||||
aria-label="Attach files"
|
||||
data-testid="paperclip-button"
|
||||
>
|
||||
|
||||
@@ -247,6 +247,7 @@ export default function Index() {
|
||||
<div className="absolute bottom-3 left-3 right-3 flex items-center justify-end gap-2 overflow-hidden">
|
||||
{/* File Attachment */}
|
||||
<FileAttachment
|
||||
className="mr-auto"
|
||||
onFileSelect={handleFileSelect}
|
||||
onFileRemove={handleFileRemove}
|
||||
selectedFiles={attachedFiles}
|
||||
|
||||
Reference in new issue
Block a user