feat: 按钮

This commit is contained in:
ygx
2026-01-05 21:19:32 +08:00
parent 35a31479de
commit 182c1e219c
2 changed files with 6 additions and 4 deletions

View File

@@ -97,6 +97,8 @@ const handleClick = (key: 'close' | 'remove' | 'resize' | 'fullResize') => {
display: flex; display: flex;
&:hover { &:hover {
.btn { .btn {
cursor: pointer;
opacity: 1;
.hover { .hover {
cursor: pointer; cursor: pointer;
opacity: 1; opacity: 1;
@@ -121,9 +123,9 @@ const handleClick = (key: 'close' | 'remove' | 'resize' | 'fullResize') => {
&.disabled { &.disabled {
pointer-events: none; pointer-events: none;
} }
.icon-base { // .icon-base {
opacity: 0; // opacity: 0;
} // }
.hover { .hover {
@extend .go-transition; @extend .go-transition;
} }

View File

@@ -208,7 +208,7 @@ $contentHeight: 180px;
&-top { &-top {
position: absolute; position: absolute;
top: 10px; top: 10px;
left: 10px; right: 10px;
height: 22px; height: 22px;
} }
&-img { &-img {