Rearrange daterange presets to allow for additional item
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
<template v-for="preset of presets">
|
||||
<a class="daterange__preset" href="#"
|
||||
@click.prevent="selectPreset(preset)">
|
||||
<i class="fa fa-calendar"></i> {{ preset.label }}
|
||||
<i class="fa fa-calendar"></i> <span>{{ preset.label }}</span>
|
||||
</a>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
@@ -88,10 +88,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
&.daterange a {
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
a{
|
||||
color:$colorBlack;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
}
|
||||
|
||||
.daterange__panel {
|
||||
padding: 8px 0;
|
||||
|
||||
.flatpickr-calendar {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.daterange__headline,
|
||||
@@ -12,12 +17,16 @@
|
||||
|
||||
.daterange__presets {
|
||||
display: flex;
|
||||
padding: 8px 0;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.daterange__preset {
|
||||
flex: 1;
|
||||
display: block;
|
||||
color: $color-font-base;
|
||||
|
||||
.fa {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.daterange__buttons {
|
||||
|
||||
Reference in New Issue
Block a user