From d9042c199339493e2f4ee378eef4c7929a5d231e Mon Sep 17 00:00:00 2001 From: Tykayn Date: Fri, 4 Feb 2022 13:44:59 +0100 Subject: [PATCH] :bug: deduplicate buttons to add a date --- .../form/date/list/day/day-list.component.html | 13 ++++++------- .../form/date/list/day/day-list.component.scss | 5 +++-- .../form/steps/step-three/step-three.component.html | 1 - 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/app/features/administration/form/date/list/day/day-list.component.html b/src/app/features/administration/form/date/list/day/day-list.component.html index 14a4c158..bce917d5 100644 --- a/src/app/features/administration/form/date/list/day/day-list.component.html +++ b/src/app/features/administration/form/date/list/day/day-list.component.html @@ -50,13 +50,12 @@ -
- - -
+ +
+ +
diff --git a/src/app/features/administration/form/date/list/day/day-list.component.scss b/src/app/features/administration/form/date/list/day/day-list.component.scss index 5bba04dd..73efe17c 100644 --- a/src/app/features/administration/form/date/list/day/day-list.component.scss +++ b/src/app/features/administration/form/date/list/day/day-list.component.scss @@ -23,7 +23,6 @@ .button { min-width: 9ch; - margin-left: -1rem; } .icon { @@ -94,9 +93,11 @@ .delete-date { color: $primary_color; border: 0; + border-radius: 0.25rem; background: transparent; text-align: left; margin-right: 0; + margin-left: -2rem; .fa, .icon { @@ -128,6 +129,6 @@ line-height: 16px; } .add_date { - margin-left: 1rem; + margin-top: 2rem; } } diff --git a/src/app/features/administration/form/steps/step-three/step-three.component.html b/src/app/features/administration/form/steps/step-three/step-three.component.html index dd5900f7..e6867403 100644 --- a/src/app/features/administration/form/steps/step-three/step-three.component.html +++ b/src/app/features/administration/form/steps/step-three/step-three.component.html @@ -12,7 +12,6 @@ {{ 'dates.datepicker_input' | translate }} -