enhance(ui): use dots menu for the asset actions

This commit is contained in:
charlie
2025-06-24 16:23:50 +08:00
committed by Tienson Qin
parent e402010b0d
commit 71cdd4a55f
2 changed files with 103 additions and 92 deletions

View File

@@ -29,8 +29,11 @@
@apply relative inline-block mt-2 w-full;
.asset-action-bar {
@apply top-0.5 right-0.5 absolute flex items-center
border bg-gray-02 rounded opacity-0 transition-opacity;
@apply top-1 right-1 absolute flex items-center opacity-0 transition-opacity;
&[data-popup-active] {
@apply opacity-100;
}
}
.asset-action-btn {
@@ -1119,7 +1122,7 @@ html.is-mac {
}
.ls-resize-image {
@apply flex relative;
@apply flex relative w-fit;
.handle-left, .handle-right {
@apply absolute w-[6px] h-[15%] min-h-[30px] bg-black/30 hover:bg-black/70