chore: update tag list selector

This commit is contained in:
boojack
2022-07-04 21:27:07 +08:00
parent 3f3f6eaee8
commit 29f73f0d25
4 changed files with 30 additions and 133 deletions

View File

@ -38,6 +38,24 @@
> .tip-text {
@apply hidden ml-1 text-xs leading-5 text-gray-700 border border-gray-300 rounded-xl px-2;
}
&.tag-action {
@apply relative;
&:hover {
> .tag-list {
@apply flex;
}
}
> .tag-list {
@apply hidden flex-col justify-start items-start absolute top-6 left-0 p-1 z-10 rounded w-32 max-h-52 overflow-auto bg-black;
> span {
@apply w-full text-white cursor-pointer rounded text-sm leading-6 px-2 hover:bg-gray-700;
}
}
}
}
}