Browse Source

:wrench: Tweak css

DricomDragon 2 months ago
parent
commit
7b0067f296
1 changed files with 7 additions and 1 deletions
  1. 7 1
      dev-front/src/App.css

+ 7 - 1
dev-front/src/App.css

@@ -18,7 +18,9 @@ header {
     /* Layout the left sidebar, main content and right sidebar */
     display: flex;
     flex-direction: row;
-    min-height: 68vh;
+
+    /* Prevent squad to shrink when filtering mech list */
+    min-height: 88vh;
 }
 
 .mech-picker {
@@ -27,6 +29,8 @@ header {
 
 .mech-list {
     overflow-y: scroll;
+
+    /* Enable scroll when too many items in the list */
     max-height: 68vh;
 }
 
@@ -37,6 +41,8 @@ header {
 .custom-squad {
     /* Take the remaining width */
     flex-grow: 1;
+
+    /* Prevent space between components because of matcha CSS */
     justify-content: start;
 }