diff --git a/src/components/shared/Calendar.vue b/src/components/shared/Calendar.vue
index fb97ce52..0f0c50fb 100644
--- a/src/components/shared/Calendar.vue
+++ b/src/components/shared/Calendar.vue
@@ -2,20 +2,18 @@
-
- Today
-
-
- mdi-chevron-left
-
-
- mdi-chevron-right
+
+ mdi-calendar-today-outline
+ Today
+
+
+ mdi-chevron-left
+
+
+ mdi-chevron-right
+
+
{{ calendarTitle }}
@@ -23,22 +21,43 @@
- {{ typeToLabel[type] }}
+ {{ typeToLabel[type].icon }}
+ {{ typeToLabel[type].text }}
mdi-menu-down
- {{ typeToLabel['day'] }}
+
+ {{ typeToLabel['day'].icon }}
+
+
+ {{ typeToLabel['day'].text }}
+
- {{ typeToLabel['4day'] }}
+
+ {{ typeToLabel['4day'].icon }}
+
+
+ {{ typeToLabel['4day'].text }}
+
- {{ typeToLabel['week'] }}
+
+ {{ typeToLabel['week'].icon }}
+
+
+ {{ typeToLabel['week'].text }}
+
- {{ typeToLabel['month'] }}
+
+ {{ typeToLabel['month'].icon }}
+
+
+ {{ typeToLabel['month'].text }}
+
@@ -146,10 +165,22 @@ export default class Calendar extends Vue {
selectedOpen = false
typeToLabel = {
- month: 'Month',
- week: 'Week',
- '4day': '4 Days',
- day: 'Day',
+ month: {
+ text: 'Month',
+ icon: 'mdi-view-grid-outline',
+ },
+ week: {
+ text: 'Week',
+ icon: 'mdi-view-week-outline',
+ },
+ '4day': {
+ text: '4 Days',
+ icon: 'mdi-view-array-outline',
+ },
+ day: {
+ text: 'Day',
+ icon: 'mdi-view-day-outline',
+ },
}
calendarRefName = 'calendar'
@@ -230,6 +261,10 @@ export default class Calendar extends Vue {
value = new Date(value)
this.$emit('monthChanged', value)
}
+
+ get buttonSlim() {
+ return this.$vuetify.breakpoint.xs
+ }
}