diff --git a/web-ui/src/components/library.rs b/web-ui/src/components/library.rs index e1a467f..d2abcae 100644 --- a/web-ui/src/components/library.rs +++ b/web-ui/src/components/library.rs @@ -347,7 +347,8 @@ pub fn Library() -> impl IntoView {
{is_upload.then(|| view! { })}
{title.clone()} }.into_any() }} -

{title.clone()}

diff --git a/web-ui/tailwind.css b/web-ui/tailwind.css index adfc7c7..4fd7004 100644 --- a/web-ui/tailwind.css +++ b/web-ui/tailwind.css @@ -76,3 +76,11 @@ -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; } + +/* Pencil/edit glyph as a mask (Feather "edit-2"). Use as + `class="w-4 h-4 bg-current ico-pen"`. */ +@utility ico-pen { + --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z'/%3E%3C/svg%3E"); + -webkit-mask: var(--ico) center / contain no-repeat; + mask: var(--ico) center / contain no-repeat; +}