Commit 189ea735a821fc1400eead05c352f943df32a640
1 parent
661d7672
Exists in
dev
Fixing responsive issues
Showing
1 changed file
with
6 additions
and
8 deletions
Show diff stats
src/dashboard/templates/dashboard/index.html
... | ... | @@ -9,7 +9,6 @@ |
9 | 9 | <style> |
10 | 10 | .monitoring-section { |
11 | 11 | max-width: 1900px; |
12 | - max-height: 300px; | |
13 | 12 | margin: 0 auto; |
14 | 13 | padding: 0% 2%; |
15 | 14 | margin-top: 2%; |
... | ... | @@ -17,7 +16,6 @@ |
17 | 16 | |
18 | 17 | .science-section { |
19 | 18 | max-width: 1900px; |
20 | - max-height: 300px; | |
21 | 19 | padding: 5% 2%; |
22 | 20 | } |
23 | 21 | |
... | ... | @@ -93,9 +91,9 @@ |
93 | 91 | |
94 | 92 | </style> |
95 | 93 | {% load static %} |
96 | -<div class="monitoring-section"> | |
94 | +<div class="monitoring-section d-flex flex-column"> | |
97 | 95 | <h1> Monitoring</h1> |
98 | - <ul class="all-grid"> | |
96 | + <div class="all-grid d-flex flex-column"> | |
99 | 97 | <li> |
100 | 98 | <div class="all-box all-img-weather"> |
101 | 99 | <a href="{% url "weather" %}"> |
... | ... | @@ -132,12 +130,12 @@ |
132 | 130 | </div></a> |
133 | 131 | </div> |
134 | 132 | </li> |
135 | - </ul> | |
133 | + </div> | |
136 | 134 | </div> |
137 | 135 | |
138 | -<div class="science-section"> | |
136 | +<div class="science-section d-flex flex-column"> | |
139 | 137 | <h1> Science</h1> |
140 | - <ul class="all-grid"> | |
138 | + <div class="all-grid d-flex flex-column"> | |
141 | 139 | <li> |
142 | 140 | <div class="all-box all-img-proposal"> |
143 | 141 | <a href="{% url "proposal" %}"> |
... | ... | @@ -184,7 +182,7 @@ |
184 | 182 | </div></a> |
185 | 183 | </div> |
186 | 184 | </li> |
187 | - </ul> | |
185 | + </div> | |
188 | 186 | </div> |
189 | 187 | </section> |
190 | 188 | {% endblock %} |
191 | 189 | \ No newline at end of file | ... | ... |