form: move the procedure notice link to a button

This commit is contained in:
Pierre de La Morinerie 2018-07-11 17:11:44 +02:00 committed by gregoirenovel
parent 2ef6f46ef4
commit 0282994990
3 changed files with 35 additions and 10 deletions

View file

@ -15,7 +15,20 @@
}
}
.thanks {
padding: (1.5 * $default-padding) 0;
.prologue {
margin: (1.5 * $default-padding) 0;
display: flex;
flex-wrap: wrap;
align-items: baseline;
.mandatory-explanation {
flex-grow: 1; // Push the "notice" button to the right
flex-shrink: 1; // Allow the text to shrink
margin-bottom: $default-spacer; // Leave space when the "notice" button wraps under the text
}
.button.notice {
flex-shrink: 0; // Display the button label on a single line
}
}
}