git save current version as 0.0.4
This commit is contained in:
@@ -79,6 +79,13 @@
|
||||
--sidebar-ring: oklch(0.708 0 0);
|
||||
}
|
||||
|
||||
html,
|
||||
body,
|
||||
#__next {
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: oklch(0.145 0 0);
|
||||
--foreground: oklch(0.985 0 0);
|
||||
@@ -407,6 +414,96 @@
|
||||
.wolai-media__resize-handle.is-dragging {
|
||||
background: rgba(37, 99, 235, 0.85);
|
||||
}
|
||||
|
||||
.online-table-block {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.online-table-block:hover .wolai-table-resize-handle,
|
||||
.online-table-block:focus-within .wolai-table-resize-handle {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle {
|
||||
position: absolute;
|
||||
background: rgba(37, 99, 235, 0.12);
|
||||
border-radius: 999px;
|
||||
transition: opacity 0.15s ease, background 0.2s ease, transform 0.12s ease;
|
||||
opacity: 0;
|
||||
z-index: 40;
|
||||
box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle.is-dragging {
|
||||
background: rgba(37, 99, 235, 0.38);
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--left,
|
||||
.wolai-table-resize-handle--right {
|
||||
top: 50%;
|
||||
width: 10px;
|
||||
height: 34px;
|
||||
transform: translateY(-50%);
|
||||
cursor: ew-resize;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--left {
|
||||
left: 6px;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--right {
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--top,
|
||||
.wolai-table-resize-handle--bottom {
|
||||
left: 50%;
|
||||
width: 34px;
|
||||
height: 10px;
|
||||
transform: translateX(-50%);
|
||||
cursor: ns-resize;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--top {
|
||||
top: 6px;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--bottom {
|
||||
bottom: 6px;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--top-left,
|
||||
.wolai-table-resize-handle--top-right,
|
||||
.wolai-table-resize-handle--bottom-left,
|
||||
.wolai-table-resize-handle--bottom-right {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--top-left {
|
||||
top: 6px;
|
||||
left: 6px;
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--bottom-right {
|
||||
bottom: 6px;
|
||||
right: 6px;
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--top-right {
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
|
||||
.wolai-table-resize-handle--bottom-left {
|
||||
bottom: 6px;
|
||||
left: 6px;
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
/* 提升 Luckysheet 内联编辑浮层的层级,避免被全屏遮罩挡住 */
|
||||
.luckysheet-input-box,
|
||||
#luckysheet-rich-text-editor {
|
||||
|
||||
@@ -16,7 +16,7 @@ export default async function TableViewerPage({ params, searchParams }: TableVie
|
||||
const allowEditing = resolvedSearch?.readonly !== "1";
|
||||
|
||||
return (
|
||||
<div className={embedMode ? "min-h-screen bg-transparent" : "min-h-screen bg-white"}>
|
||||
<div className={embedMode ? "h-full w-full bg-transparent" : "min-h-screen bg-white"}>
|
||||
<HeadlessTableViewer tableId={tableId} embed={embedMode} editable={allowEditing} />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user