feat: add resizer size Indicator

This commit is contained in:
Hufe921
2023-12-13 21:17:38 +08:00
parent 8ace07962d
commit 61c110d5ee
3 changed files with 84 additions and 29 deletions
+19 -1
View File
@@ -3,7 +3,7 @@
border: 1px solid;
}
.ce-resizer-selection>div {
.ce-resizer-selection .resizer-handle {
position: absolute;
z-index: 9;
width: 10px;
@@ -46,6 +46,24 @@
cursor: w-resize;
}
.ce-resizer-size-view {
height: 20px;
line-height: 19px;
white-space: nowrap;
position: absolute;
top: -30px;
left: 0;
opacity: .9;
background-color: #000000;
padding: 0 5px;
border-radius: 4px;
}
.ce-resizer-size-view span {
color: #ffffff;
font-size: 12px;
}
.ce-resizer-image {
position: absolute;
opacity: 0.5;