Projet

Général

Profil

0001-malakoff-maintain-correct-buttons-alignment-56529.patch

Thomas Jund, 13 septembre 2021 14:42

Télécharger (1,29 ko)

Voir les différences:

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(-)
static/malakoff/_custom.scss
297 297
}
298 298

  
299 299
div.buttons {
300
	text-align: right;
300 301
	.previous-button button {
301 302
		@extend %cancel-button;
302 303
		&:before {
......
315 316

  
316 317
		}
317 318
	}
318

  
319 319
} 
320 320

  
321 321

  
static/malakoff/_vars.scss
35 35
$button-background: $link-color;
36 36
$button-hover-background: white;
37 37
$button-hover-color: $link-color;
38
$buttons-order: previous (grow), cancel, submit;
39

  
38
$buttons-order: previous, cancel (grow), submit;
40 39
$wcs-steps-spacing: 0.7rem; 
41 40
$wcs-step-background: #fff;
42 41
$wcs-step-current-border-bottom: none;
43
-