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