mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
refactor: ♻️ Improve sidebar and background design
This commit is contained in:
parent
9b5187207b
commit
9ba59cfd21
26 changed files with 52 additions and 161 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue