From e6695d422f337635baa795bd8154b932d7bd586c Mon Sep 17 00:00:00 2001 From: Thomas JUND Date: Mon, 13 Sep 2021 14:41:55 +0200 Subject: [PATCH] malakoff: maintain correct buttons alignment (#56529) when previous button is missing --- static/malakoff/_custom.scss | 2 +- static/malakoff/_vars.scss | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/static/malakoff/_custom.scss b/static/malakoff/_custom.scss index b855721..ee921a9 100644 --- a/static/malakoff/_custom.scss +++ b/static/malakoff/_custom.scss @@ -297,6 +297,7 @@ div#services > ul > li > strong > a, } div.buttons { + text-align: right; .previous-button button { @extend %cancel-button; &:before { @@ -315,7 +316,6 @@ div.buttons { } } - } diff --git a/static/malakoff/_vars.scss b/static/malakoff/_vars.scss index 21533b1..eccebcc 100644 --- a/static/malakoff/_vars.scss +++ b/static/malakoff/_vars.scss @@ -35,8 +35,7 @@ $button-border: 2px solid $link-color; $button-background: $link-color; $button-hover-background: white; $button-hover-color: $link-color; -$buttons-order: previous (grow), cancel, submit; - +$buttons-order: previous, cancel (grow), submit; $wcs-steps-spacing: 0.7rem; $wcs-step-background: #fff; $wcs-step-current-border-bottom: none;