mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Implemented bottom-sticky save buttons for product and chore edit forms (closes #1589)
This commit is contained in:
@@ -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;
|
||||
|
@@ -1,4 +1,5 @@
|
||||
body.night-mode {
|
||||
body.night-mode,
|
||||
.night-mode .sticky-form-footer {
|
||||
color: #c1c1c1;
|
||||
background-color: #333131;
|
||||
}
|
||||
|
Reference in New Issue
Block a user