diff --git a/changelog/64_UNRELEASED_xxxx.xx.xx.md b/changelog/64_UNRELEASED_xxxx.xx.xx.md index 9fce6cea..612d59a3 100644 --- a/changelog/64_UNRELEASED_xxxx.xx.xx.md +++ b/changelog/64_UNRELEASED_xxxx.xx.xx.md @@ -1,6 +1,7 @@ - Fixed that the "Add all list items to stock" shopping list workflow did not work for more than ~6 items (thanks @tjhowse) - Fixed that plural form handling (e.g. for quantity units) was wrong for negative numbers - Fixed that the context menu entries Consume and Transfer on the stock overview page were disabled when the amount in stock was < 1 +- The product and chore edit pages now have bottom-sticky save buttons ### API - Fixed that international characters were not allowed in API query filters diff --git a/public/css/grocy.css b/public/css/grocy.css index a383feab..618af5a7 100755 --- a/public/css/grocy.css +++ b/public/css/grocy.css @@ -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; diff --git a/public/css/grocy_night_mode.css b/public/css/grocy_night_mode.css index b5bd8d58..dc37d34c 100644 --- a/public/css/grocy_night_mode.css +++ b/public/css/grocy_night_mode.css @@ -1,4 +1,5 @@ -body.night-mode { +body.night-mode, +.night-mode .sticky-form-footer { color: #c1c1c1; background-color: #333131; } diff --git a/views/choreform.blade.php b/views/choreform.blade.php index a06b0d9e..2b7db699 100644 --- a/views/choreform.blade.php +++ b/views/choreform.blade.php @@ -30,6 +30,7 @@ @endif