瀏覽代碼

set flexBasis

Yuki Takei 2 年之前
父節點
當前提交
93c061622f
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      packages/editor/src/components/playground/Playground.tsx

+ 3 - 3
packages/editor/src/components/playground/Playground.tsx

@@ -20,13 +20,13 @@ export const Playground = (): JSX.Element => {
   return (
   return (
     <>
     <>
       <div className="flex-grow-1 d-flex flex-column justify-content-center align-items-center bg-dark" style={{ minHeight: '83px' }}>
       <div className="flex-grow-1 d-flex flex-column justify-content-center align-items-center bg-dark" style={{ minHeight: '83px' }}>
-        <div className="text-white">GrowiSubnavigation</div>
+        <div className="text-white">GrowiSubNavigation</div>
       </div>
       </div>
       <div className="flex-grow-1 d-flex overflow-y-auto">
       <div className="flex-grow-1 d-flex overflow-y-auto">
-        <div className="flex-grow-1 d-flex flex-column">
+        <div className="flex-grow-1 d-flex flex-column" style={{ flexBasis: 0 }}>
           <CodeMirrorEditorContainer ref={containerRef} />
           <CodeMirrorEditorContainer ref={containerRef} />
         </div>
         </div>
-        <div className="flex-grow-1 d-flex flex-column justify-content-center align-items-center bg-light border-start border-dark-subtle">
+        <div className="flex-grow-1 d-flex flex-column bg-light border-start border-dark-subtle p-3" style={{ flexBasis: 0 }}>
           <p>PREVIEW</p>
           <p>PREVIEW</p>
         </div>
         </div>
       </div>
       </div>