diff --git a/docutranslate/static/index.html b/docutranslate/static/index.html index e97aa28..ad79f85 100644 --- a/docutranslate/static/index.html +++ b/docutranslate/static/index.html @@ -39,7 +39,6 @@ transition: all 0.3s ease-in-out; } - /* === 修改点: 为等待ID的状态添加样式 === */ .task-id-placeholder { color: var(--bs-secondary-color); font-style: italic; @@ -122,7 +121,6 @@ overflow: auto; } - /* MODIFIED: Redefined gutter styles for both directions */ .gutter { background-color: var(--bs-tertiary-bg); background-repeat: no-repeat; @@ -163,39 +161,32 @@ z-index: 1050; } - /* === MODIFIED: Added Responsive Styles === */ - - /* Make the main layout responsive for mobile (stacks below lg breakpoint) */ @media (max-width: 991.98px) { .main-container { - height: auto; /* Allow natural page height */ - padding-bottom: 6rem; /* Add padding at the bottom for floating theme switch */ + height: auto; + padding-bottom: 6rem; } .settings-panel, .task-area { - height: auto; /* Remove fixed height to allow natural flow */ + height: auto; overflow-y: visible; } .settings-panel { - padding-right: 0; /* No scrollbar space needed */ - margin-bottom: 2rem; /* Add space when panels stack */ + padding-right: 0; + margin-bottom: 2rem; } } - /* Adjustments for smaller screens (tablets and phones) */ @media (max-width: 767.98px) { - /* Add space between file area and log area when they stack on mobile */ .task-card .col-md-7 { margin-top: 1.5rem; } - /* Make preview offcanvas full width on mobile */ #previewOffcanvas { --bs-offcanvas-width: 100vw; } } - @@ -432,7 +423,6 @@