refactor(仪表板): 优化仪表板拖拽区

This commit is contained in:
wangjiahao 2022-12-21 16:16:30 +08:00
parent 6b2b4083e4
commit cf5bf866af

View File

@ -2170,31 +2170,31 @@ export default {
} }
.de-drag-top { .de-drag-top {
left: 0; left: 1px;
top: 0; top: 1px;
height: 12px; height: 12px;
width: 100%; width: calc(100% - 2px);
} }
.de-drag-right { .de-drag-right {
right: 0; right: 1px;
top: 0; top: 1px;
width: 16px; width: 16px;
height: 100%; height: calc(100% - 30px);
} }
.de-drag-bottom { .de-drag-bottom {
left: 0; left: 1px;
bottom: 0; bottom: 1px;
height: 12px; height: 12px;
width: 100%; width: calc(100% - 2px);
} }
.de-drag-left { .de-drag-left {
left: 0; left: 1px;
top: 0; top: 1px;
width: 16px; width: 16px;
height: 100%; height: calc(100% - 2px);
} }
</style> </style>