From daaa7d38649ac9646fc184cd111d226ce62e8d1a Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 2 Aug 2022 14:09:29 +0200 Subject: [PATCH] fix: remove precision setting --- src/components/tasks/gantt-chart.vue | 6 +- src/views/list/ListGantt.vue | 90 ++++++++++------------------ 2 files changed, 33 insertions(+), 63 deletions(-) diff --git a/src/components/tasks/gantt-chart.vue b/src/components/tasks/gantt-chart.vue index 7d77c988..402f16e4 100644 --- a/src/components/tasks/gantt-chart.vue +++ b/src/components/tasks/gantt-chart.vue @@ -4,7 +4,7 @@
-
-
- -
-
- -
-
-
-
- -
- -
+
+ +
+
@@ -42,7 +29,6 @@ @@ -73,7 +59,6 @@ const props = defineProps({ }) const showTasksWithoutDates = ref(false) -const precision = ref('day') const now = new Date() const defaultFrom = format(new Date((new Date()).setDate(now.getDate() - 15)), 'yyyy-LL-dd') @@ -113,46 +98,35 @@ const flatPickerConfig = computed(() => ({ flex-direction: column; } - .range-picker { - display: flex; - margin-bottom: 1rem; - width: 50%; + .field { + margin-bottom: 0; + width: 33%; - @media screen and (max-width: $tablet) { - flex-direction: column; - width: 100%; + &:not(:last-child) { + padding-right: .5rem; } - .field { - margin-bottom: 0; - width: 33%; + @media screen and (max-width: $tablet) { + width: 100%; + max-width: 100%; + margin-top: .5rem; + padding-right: 0 !important; + } - &:not(:last-child) { - padding-right: .5rem; - } + &, .input { + font-size: .8rem; + } - @media screen and (max-width: $tablet) { - width: 100%; - max-width: 100%; - margin-top: .5rem; - padding-right: 0 !important; - } - - &, .input { - font-size: .8rem; - } - - .select, .select select { - height: auto; - width: 100%; - font-size: .8rem; - } + .select, .select select { + height: auto; + width: 100%; + font-size: .8rem; + } - .label { - font-size: .9rem; - padding-left: .4rem; - } + .label { + font-size: .9rem; + padding-left: .4rem; } } }