移除resizeable组件

This commit is contained in:
tommy
2025-11-04 13:44:56 +08:00
parent 5565147d70
commit 777467c0c4
5 changed files with 9 additions and 256 deletions

View File

@@ -692,88 +692,6 @@
background: transparent;
}
.ui-resizable-panels {
display: flex;
gap: 0.5rem;
align-items: stretch;
}
.ui-resizable-panels[data-orientation="vertical"] {
flex-direction: column;
height: 100%;
}
.ui-resizable-pane {
flex: 0 1 auto;
background-color: hsl(var(--background));
border: 1px solid hsl(var(--border));
border-radius: calc(var(--radius) - 2px);
padding: 0.75rem;
box-shadow: var(--shadow-xs);
min-width: 6rem;
min-height: 4rem;
}
.ui-resizable-handle-stack {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.35rem;
}
.ui-resizable-panels[data-orientation="vertical"] .ui-resizable-handle-stack {
flex-direction: row;
}
.ui-resizable-handle {
width: 0.4rem;
height: 3rem;
border-radius: 999px;
background: repeating-linear-gradient(
90deg,
hsl(var(--border)),
hsl(var(--border)) 2px,
transparent 2px,
transparent 4px
);
opacity: 0.6;
}
.ui-resizable-panels[data-orientation="vertical"] .ui-resizable-handle {
width: 3rem;
height: 0.4rem;
background: repeating-linear-gradient(
0deg,
hsl(var(--border)),
hsl(var(--border)) 2px,
transparent 2px,
transparent 4px
);
}
.ui-resizable-slider {
appearance: none;
width: 4.5rem;
height: 0.3rem;
border-radius: 999px;
background: hsl(var(--muted));
cursor: ew-resize;
}
.ui-resizable-slider::-webkit-slider-thumb {
appearance: none;
width: 0.9rem;
height: 0.9rem;
border-radius: 50%;
background: hsl(var(--primary));
box-shadow: var(--shadow-sm);
}
.ui-resizable-panels[data-orientation="vertical"] .ui-resizable-slider {
cursor: ns-resize;
}
.ui-dropzone {
position: relative;
border: 1.5px dashed hsl(var(--border));