Skip to content

Commit 61cf342

Browse files
committed
Fix styles
1 parent 5936df3 commit 61cf342

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

assets/css/base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body {
1919
}
2020

2121
.wrapper {
22-
min-height: 100vh;
22+
min-height: 100%;
2323
width: 100%;
2424
display: flex;
2525
flex-direction: column;

components/Drawer/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ export default {
4545
.drawer {
4646
display: flex;
4747
flex-direction: column;
48-
height: 92vh;
48+
height: 92%;
4949
}
5050
</style>

components/DrawerItem/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default {
4343
<style lang="scss" scoped>
4444
.drawer-item {
4545
display: inline-block;
46-
height: 12vh;
46+
height: 12.8vh;
4747
width: 100vw;
4848
margin-bottom: -4px;
4949
background-color: #343332;

pages/index.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
:selection.sync="country" />
2525
</DrawerItem>
2626
<DrawerItem title="TIMELINE">
27-
<p>FEATURE TO BE ADDED SOON</p>
27+
<div class="timeline">
28+
<p>FEATURE TO BE ADDED SOON</p>
29+
</div>
2830
</DrawerItem>
2931
</Drawer>
3032
</div>
@@ -118,6 +120,11 @@ export default {
118120
}
119121
}
120122
123+
.timeline {
124+
position: relative;
125+
white-space: normal;
126+
}
127+
121128
.covid-map {
122129
position: relative;
123130
z-index: 1;
@@ -153,7 +160,7 @@ export default {
153160
top: 0;
154161
left: 0;
155162
width: 100vw;
156-
height: 100vh;
163+
height: 100%;
157164
font-size: 24px;
158165
color: #ffffff;
159166
}

0 commit comments

Comments
 (0)