瀏覽代碼

:pencil: Add squad description

DricomDragon 7 月之前
父節點
當前提交
75f0f3956d
共有 2 個文件被更改,包括 15 次插入0 次删除
  1. 9 0
      dev-front/src/App.css
  2. 6 0
      dev-front/src/App.tsx

+ 9 - 0
dev-front/src/App.css

@@ -43,4 +43,13 @@ header {
 
 .mech-description {
     flex: 1;
+}
+
+.squad-description {
+    display: flex;
+    flex-direction: column;
+}
+
+.squad-description textarea {
+    flex: 1;
 }

+ 6 - 0
dev-front/src/App.tsx

@@ -66,6 +66,12 @@ function App() {
                             <button>Remove</button>
                         </div>
                     </div>
+                    <div className='squad-description'>
+                        <label htmlFor='squad-description-field-id'>Squad description</label>
+                        <textarea id='squad-description-field-id'>
+                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+                        </textarea>
+                    </div>
                 </article>
 
             </main>