소스 검색

Widened slicing modal

maziggy 1 개월 전
부모
커밋
e8de379fb9
2개의 변경된 파일과 7개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 0
      CHANGELOG.md
  2. 6 3
      frontend/src/components/SliceModal.tsx

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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.

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.