Projet

Général

Profil

0001-style-don-t-display-wcs-steps-bar-when-there-s-a-sin.patch

Frédéric Péters, 29 décembre 2020 17:04

Télécharger (1,07 ko)

Voir les différences:

Subject: [PATCH] style: don't display wcs steps bar when there's a single one
 (#49775)

 gadjo/static/css/_wcs.scss | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
gadjo/static/css/_wcs.scss
8 8

  
9 9
div#side { // w.c.s. steps in backoffice submission
10 10
	background: white;
11
	padding: 0.5rem;
12 11
	border-radius: 3px 3px 0 0;
13 12
	margin-bottom: 1rem;
14 13
	& + form {
......
16 15
		padding: 0.5rem;
17 16
		border-radius: 0 0 3px 3px;
18 17
	}
18
	#steps.steps-1 {
19
		// hide steps when there's a single one
20
		display: none;
21
	}
19 22
	#steps ol {
20 23
		background: transparent;
24
		margin: 0.5em;
25
		padding: 0;
21 26
		span.label {
22 27
			margin-left: 0.5rem;
23 28
		}
24
-