Skip to content

Commit 91aa613

Browse files
committed
Fix style / Removed unnecessary components
1 parent e6e9dc1 commit 91aa613

File tree

5 files changed

+12
-304
lines changed

5 files changed

+12
-304
lines changed

components/Drawer/index.vue

Lines changed: 0 additions & 50 deletions
This file was deleted.

components/DrawerItem/index.vue

Lines changed: 0 additions & 78 deletions
This file was deleted.

components/Overview/index.vue

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</div>
1919
<div class="section chart">
2020
<p>Daily</p>
21-
<p class="sub">Click chart to view daily cases</p>
21+
<p class="sub">Click or Drag chart to view daily cases</p>
2222
<client-only>
2323
<apexchart height="350" type="line" :options="chartOptions" :series="series"></apexchart>
2424
</client-only>
@@ -192,11 +192,11 @@ export default {
192192
}
193193
194194
& > p {
195-
margin-bottom: 8px;
196195
font-size: 24px;
197196
font-weight: 300;
198197
199198
&.sub {
199+
margin-top: 8px;
200200
font-size: 14px;
201201
color: #666666;
202202
}
@@ -208,15 +208,14 @@ export default {
208208
position: relative;
209209
210210
ul {
211-
margin: 0;
211+
display: flex;
212+
margin: 0 0 0 -12px;
213+
flex-wrap: wrap;
212214
213215
li {
214216
display: inline-flex;
215217
margin-left: 12px;
216-
217-
&:first-child {
218-
margin-left: 0;
219-
}
218+
margin-top: 8px;
220219
}
221220
}
222221
}

components/Results/index.vue

Lines changed: 0 additions & 167 deletions
This file was deleted.

components/Search/index.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,10 @@ export default {
308308
309309
.countries-wrapper {
310310
transform: translateY(calc(200% + 2px));
311+
312+
@media only screen and (min-width: 768px) {
313+
transform: translateY(calc(200% + 3px));
314+
}
311315
}
312316
313317
.provinces-wrapper {
@@ -317,11 +321,11 @@ export default {
317321
318322
.dropdown-menu {
319323
position: absolute;
320-
top: calc(100% - 52px);
324+
top: calc(100% - 56px);
321325
margin: 0;
322326
padding: 0;
323327
display: none;
324-
max-height: 240px;
328+
max-height: 186px;
325329
width: 100%;
326330
overflow: auto;
327331
transform: translateY(-100%);

0 commit comments

Comments
 (0)