Skip to content
Snippets Groups Projects
Commit a2a13a36 authored by Michaela Brückner's avatar Michaela Brückner :unicorn:
Browse files

footer style for formbuilder forms, fixes #1820

parent 7cd4ce3f
No related branches found
No related tags found
No related merge requests found
...@@ -529,6 +529,15 @@ form.narrow { ...@@ -529,6 +529,15 @@ form.narrow {
} }
} }
// this is necessary to give a form made via formbuilder the correct design
.formbuilderfooter {
background-color: #e7ebf1;
border-top: 1px solid #1f3f70;
clear: both;
margin-left: 0;
padding: 5px 10px;
}
// give forms some optimized styling for very narrow screen sizes // give forms some optimized styling for very narrow screen sizes
@include media-breakpoint-tiny-down(){ @include media-breakpoint-tiny-down(){
form.default { form.default {
......
...@@ -62,6 +62,6 @@ $form_id = md5(uniqid()); ...@@ -62,6 +62,6 @@ $form_id = md5(uniqid());
</div> </div>
</form> </form>
<div data-dialog-button> <footer data-dialog-button class="formbuilderfooter">
<?= \Studip\Button::create(_('Speichern'), null, ['form' => $form_id]) ?> <?= \Studip\Button::create(_('Speichern'), null, ['form' => $form_id]) ?>
</div> </footer>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment