yup, lume is very solid now

This commit is contained in:
Ren Amamiya
2023-08-29 16:11:17 +07:00
parent 2914c54a47
commit 91e50efb1a
20 changed files with 177 additions and 88 deletions

View File

@@ -11,15 +11,15 @@ export function TitleBar({ id, title }: { id?: string; title: string }) {
return (
<div
data-tauri-drag-region
className="group flex h-11 w-full shrink-0 items-center justify-between overflow-hidden px-3"
className="flex h-11 w-full shrink-0 items-center justify-between overflow-hidden px-3"
>
<div className="w-6" />
<h3 className="text-sm font-medium text-white">{title}</h3>
<h3 className="text-sm font-bold text-white">{title}</h3>
{id ? (
<button
type="button"
onClick={() => remove(db, id)}
className="inline-flex h-6 w-6 shrink translate-y-8 transform items-center justify-center rounded backdrop-blur-xl transition-transform duration-150 ease-in-out hover:bg-white/10 group-hover:translate-y-0"
className="inline-flex h-6 w-6 shrink-0 transform items-center justify-center rounded backdrop-blur-xl hover:bg-white/10"
>
<CancelIcon className="h-3 w-3 text-white" />
</button>