enhance(ux): display remove tag button when hovering it

This commit puts the close button to the end of the tag instead.
This commit is contained in:
Tienson Qin
2024-09-09 16:42:33 +08:00
parent e08ca7f7d4
commit 8c1d1f2c02
2 changed files with 57 additions and 32 deletions

View File

@@ -880,10 +880,15 @@ html.is-mac {
}
.block-tags {
@apply flex flex-row flex-wrap self-start items-center gap-2;
@apply flex flex-row flex-wrap self-start items-center;
min-height: 24px;
max-width: 256px;
margin-right: -28px;
}
.block-tag {
@apply pr-1 flex flex-row items-center gap-1;
}
.block-tag a.tag {
@apply flex text-sm items-center opacity-70;
}