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

This commit is contained in:
Frédéric Péters 2020-12-29 17:03:52 +01:00
parent ca2f9e6160
commit c372a2611a
1 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,6 @@ $actions: add, duplicate, edit, remove;
div#side { // w.c.s. steps in backoffice submission
background: white;
padding: 0.5rem;
border-radius: 3px 3px 0 0;
margin-bottom: 1rem;
& + form {
@ -16,8 +15,14 @@ div#side { // w.c.s. steps in backoffice submission
padding: 0.5rem;
border-radius: 0 0 3px 3px;
}
#steps.steps-1 {
// hide steps when there's a single one
display: none;
}
#steps ol {
background: transparent;
margin: 0.5em;
padding: 0;
span.label {
margin-left: 0.5rem;
}