Skip to content

Commit 5af7262

Browse files
committed
style(imgUpload): 增大删除按钮大小
1 parent 7464d8a commit 5af7262

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/components/base/upload-imgs/index.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -835,23 +835,23 @@ export default {
835835
color: white;
836836
position: absolute;
837837
display: inline-block;
838-
width: 14px;
839-
height: 14px;
838+
width: 1.7em;
839+
height: 1.5em;
840840
top: 0;
841841
right: 0;
842842
opacity: 0;
843-
border-radius: 0 0 0 14px;
843+
border-radius: 0 0 0 1.4em;
844844
transition: all .1s;
845845
846846
&::before {
847-
font-size: 12px;
847+
font-size: 1.4em;
848848
position: absolute;
849849
right: -1px;
850850
transform: scale(0.7);
851851
}
852852
853853
&:hover {
854-
transform: translate(-3px, 3px) scale(1.5);
854+
transform: translate(-0.5em, .4em) scale(1.5);
855855
}
856856
857857
}

0 commit comments

Comments
 (0)