From 37d19673439b8f22487921aee1886977d28770d9 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 12 Aug 2021 14:28:00 +0200 Subject: [PATCH] Feat: simplify createMonth --- src/components/CreateMonth.vue | 35 ++++++---------------------- src/components/MonthPresentation.vue | 1 - 2 files changed, 7 insertions(+), 29 deletions(-) diff --git a/src/components/CreateMonth.vue b/src/components/CreateMonth.vue index 7bd1fc4..97e724c 100644 --- a/src/components/CreateMonth.vue +++ b/src/components/CreateMonth.vue @@ -9,32 +9,10 @@
- +
  • + + +
  • @@ -68,6 +46,9 @@ export default { ...mapGetters('travail', { 'theEmptyMonth': 'TheEmptyMonth', }), + ...mapGetters('config', { + 'monthDesc': 'monthDesc', + }), }, methods: { ...mapActions('travail', { @@ -117,12 +98,10 @@ export default { } li { margin: 3px; - width: 30%; display: flex; flex-direction: column-reverse; } .value { - font-size: 1.5em; font-weight: bold; } diff --git a/src/components/MonthPresentation.vue b/src/components/MonthPresentation.vue index 09c78e0..bbc7d51 100644 --- a/src/components/MonthPresentation.vue +++ b/src/components/MonthPresentation.vue @@ -132,6 +132,5 @@ export default { padding: 4px; font-size: 0.8em; width: auto; - }