Implemented bottom-sticky save buttons for product and chore edit forms (closes #1589)

This commit is contained in:
Bernd Bestel
2021-09-15 14:59:11 +02:00
parent 3f850c540b
commit 305f846dbf
5 changed files with 37 additions and 16 deletions

View File

@@ -134,6 +134,19 @@ input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
.sticky-form-footer {
border-top: 1px solid #d6d6d6;
background-color: white;
bottom: 0;
position: fixed;
width: 100%;
z-index: 5000;
}
form.has-sticky-form-footer .form-group:nth-last-child(2) {
padding-bottom: 2rem;
}
/* Navigation style customizations */
#mainNav {
line-height: 1;

View File

@@ -1,4 +1,5 @@
body.night-mode {
body.night-mode,
.night-mode .sticky-form-footer {
color: #c1c1c1;
background-color: #333131;
}