Browse Source

Widened slicing modal

maziggy 4 days ago
parent
commit
e8de379fb9
2 changed files with 7 additions and 3 deletions
  1. 1 0
      CHANGELOG.md
  2. 6 3
      frontend/src/components/SliceModal.tsx

File diff suppressed because it is too large
+ 1 - 0
CHANGELOG.md


+ 6 - 3
frontend/src/components/SliceModal.tsx

@@ -738,7 +738,7 @@ export function SliceModal({ source, onClose }: SliceModalProps) {
       }}
     >
       <div
-        className="w-full max-w-xl lg:max-w-5xl max-h-[85vh] flex flex-col rounded-lg bg-bambu-dark-secondary border border-bambu-dark-tertiary/60"
+        className="w-full max-w-xl lg:max-w-5xl xl:max-w-7xl 2xl:max-w-[96rem] max-h-[85vh] flex flex-col rounded-lg bg-bambu-dark-secondary border border-bambu-dark-tertiary/60"
         onClick={(e) => e.stopPropagation()}
       >
         {/* Header */}
@@ -813,8 +813,11 @@ export function SliceModal({ source, onClose }: SliceModalProps) {
                   "what am I slicing with" decisions together; the right gives
                   the process-settings panel a column of its own, which is the
                   only way 348 options are comfortable to work through. Below
-                  lg both collapse back into the original single stack. */}
-              <div className="lg:grid lg:grid-cols-[minmax(0,20rem)_minmax(0,1fr)] lg:gap-5 lg:items-start">
+                  lg both collapse back into the original single stack. The
+                  left column grows with the modal: fixed at 20rem it cut
+                  preset names off and wrapped every filament label while the
+                  settings panel sat half empty. */}
+              <div className="lg:grid lg:grid-cols-[minmax(20rem,2fr)_minmax(0,3fr)] lg:gap-5 lg:items-start">
                 <div className="space-y-4 min-w-0">
               {/* Slicer Pipelines (#1425): apply a saved preset bundle to all
                   four slots, or save the current selection as a pipeline.

Some files were not shown because too many files changed in this diff