Commit ed7a2047 authored by jan.koester's avatar jan.koester
Browse files

est

parent 66938696
Loading
Loading
Loading
Loading
+31 −2
Changes for data/template/default/editor.html: 31 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -120,11 +120,37 @@
        /* Use Grid for the main content area */
        #maincontent {
            display: grid;
            grid-template-columns: 280px 1fr; /* Toolbar fixed width, Preview fluid */
            /* Full viewport height minus header height */
            grid-template-columns: var(--sidebar-width, 280px) 6px 1fr;
            height: calc(100vh - var(--header-height));
        }

        /* Vertical resize handle between sidebar and preview */
        #sidebar-resizer {
            background: #1f2937;
            cursor: col-resize;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.15s;
            z-index: 10;
        }
        #sidebar-resizer:hover,
        #sidebar-resizer.dragging {
            background: #3b82f6;
        }
        #sidebar-resizer::after {
            content: '';
            width: 2px;
            height: 32px;
            border-radius: 1px;
            background: #6b7280;
            transition: background-color 0.15s;
        }
        #sidebar-resizer:hover::after,
        #sidebar-resizer.dragging::after {
            background: #fff;
        }

        #preview {
            display: flex;
            justify-content: center;
@@ -606,6 +632,9 @@
            </div>
        </div>

        <!-- Resize Handle -->
        <div id="sidebar-resizer"></div>

        <!-- Preview Area (Right Panel) -->
        <div id="preview" class="bg-gray-800">
            <iframe id="rendering" class="desktop-frame" name="renderingIframe"></iframe>