refactor: ♻️ Improve sidebar and background design

This commit is contained in:
Jesse Wierzbinski 2025-02-09 19:39:05 +01:00
parent 9b5187207b
commit 9ba59cfd21
No known key found for this signature in database
26 changed files with 52 additions and 161 deletions

View file

@ -14,16 +14,16 @@
<DropdownMenuSeparator />
<DropdownMenuItem @click="editName">
<TextCursorInput class="mr-2 h-4 w-4" />
<TextCursorInput class="mr-2 size-4" />
<span>Rename</span>
</DropdownMenuItem>
<DropdownMenuItem @click="editCaption">
<Captions class="mr-2 h-4 w-4" />
<DropdownMenuItem @click="editCaption">
<Captions class="mr-2 size-4" />
<span>Add caption</span>
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem @click="emit('remove')">
<Delete class="mr-2 h-4 w-4" />
<Delete class="mr-2 size-4" />
<span>Remove</span>
</DropdownMenuItem>
</DropdownMenuContent>
@ -123,4 +123,4 @@ const formatBytes = (bytes: number) => {
const i = Math.floor(Math.log(bytes) / Math.log(k));
return `${Number.parseFloat((bytes / k ** i).toFixed(digitsAfterPoint))} ${sizes[i]}`;
};
</script>
</script>