fix: ux bug

This commit is contained in:
jialin
2024-07-02 17:30:03 +08:00
parent 49efbd1a7f
commit 316019586f
19 changed files with 102 additions and 133 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
:global(.label-val) {
position: absolute;
top: -14px;
right: 26px;
right: 2px;
width: 80px;
border-radius: 8px;
text-align: center;
+8 -2
View File
@@ -4,15 +4,18 @@
justify-content: flex-start;
align-items: flex-start;
margin-bottom: 12px;
&:hover {
.delete-btn {
opacity: 1;
transition: all 0.3s var(--seal-transition-func);
}
}
.role-type {
margin-right: 12px;
background-color: var(--ant-button-text-hover-bg);
.ant-btn {
text-align: left;
width: 100px;
@@ -20,17 +23,20 @@
height: 46px;
}
}
.message-content-input {
flex: 1;
.ant-input {
padding-right: 30px;
padding-right: 40px;
}
}
.delete-btn {
opacity: 0;
position: absolute;
top: 2px;
right: 0;
right: 2px;
transition: all 0.3s var(--seal-transition-func);
}
}
@@ -5,4 +5,5 @@
justify-content: center;
align-items: center;
color: var(--ant-orange);
gap: 20px;
}