Fix chrome grid-flex nesting issue 67/68067/2
authorSawyer Bergeron <sbergeron@iol.unh.edu>
Mon, 17 Jun 2019 19:32:59 +0000 (15:32 -0400)
committerSawyer Bergeron <sbergeron@iol.unh.edu>
Mon, 17 Jun 2019 19:37:29 +0000 (15:37 -0400)
Change-Id: I92a38c6f5fbf23c7f32c233c47b5c1230a1933d7
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
dashboard/src/templates/dashboard/genericselect.html
dashboard/src/templates/dashboard/searchable_select_multiple.html

index a03f759..1e9a29a 100644 (file)
     #{{select_type}}_form_div div {
     }
 
-    #{{select_type}}_form_div > *:not(.divider) {
+    #{{select_type}}_form_div > * {
         margin-left: 10px;
         margin-right: 10px;
+        margin-bottom: 20px;
     }
 
     #{{select_type}}_form_div div * {
     #{{select_type}}_form_div {
         flex: 1;
         margin: 30px;
-        display: grid;
-        grid-template-rows: auto 1px auto 1fr;
-        grid-template-columns: repeat(24, 1fr);
-        grid-row-gap: 15px;
+        display: flex;
+        flex-direction: column;
     }
 
     #select_section {
+        flex: 1;
         display: flex;
         flex-direction: column;
-        grid-column-start: 3;
-        grid-column-end: 21;
     }
 
     #{{select_type}}_select_form {
     }
 
     #create_section {
-        grid-column-start: 1;
-        grid-column-end: 24;
     }
 
     #select_header_section {
-        grid-column: 1 / 24;
     }
 
     h3 {
@@ -65,8 +60,6 @@
 
     .divider {
         border-top: 1px solid #ccc;
-        grid-column-start: 1;
-        grid-column-end: 24;
     }
 
 
index 4290147..5fa8993 100644 (file)
@@ -34,6 +34,7 @@
             flex: 1;
             position: relative;
             overflow-y: auto;
+            padding-bottom: 10px;
         }
         .autocomplete {
             display: flex;
@@ -59,7 +60,6 @@
 
             position: absolute;
             width: 100%;
-            box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
 
         }