fix: 优化预览区域选择提示布局

This commit is contained in:
que01 committed 2026-10-13 16:04:19 +08:00
1 parent dcf1d76944
commit 00edcedbcf
2 files changed
+11 -3

No files matched your search

@@ -128,9 +128,10 @@
.component-template-preview__outline span {
position: absolute;
bottom: 100%;
top: 0;
left: 0;
max-width: 100%;
max-width: calc(100% - 8px);
transform: translateY(-100%);
padding: 2px 7px;
overflow: hidden;
border-radius: 4px 4px 0 0;
@@ -142,6 +143,11 @@
white-space: nowrap;
}
.component-template-preview__outline.is-selected span {
top: 4px;
transform: none;
}
.component-template-preview__tools[hidden] {
display: none;
}