Make the apply button always visible

This commit is contained in:
Jakob Ketterl 2021-02-24 23:04:23 +01:00
parent 388d9d46fe
commit 0c1dc70217
2 changed files with 15 additions and 3 deletions

View File

@ -5,12 +5,24 @@ html, body {
height: unset;
}
body {
margin-bottom: 57px;
}
hr {
background: gray;
background: #444;
}
.buttons {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: #222;
z-index: 2;
padding: 10px;
text-align: right;
border-top: 1px solid #444;
}
.row .map-input {

View File

@ -57,8 +57,8 @@ class SettingsFormController(AuthorizationMixin, WebpageController, metaclass=AB
return """
<form class="settings-body" method="POST">
{sections}
<div class="buttons">
<button type="submit" class="btn btn-primary">Apply</button>
<div class="buttons container">
<button type="submit" class="btn btn-primary">Apply and save</button>
</div>
</form>
""".format(