From 4fe86bf009d8c6d6314766cce10eab9dbefde701 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Wed, 15 Jan 2025 10:40:07 +0000 Subject: [PATCH] Bug 38899: Add a sticky toolbar This patch adds a sticky toolbar to the vendors form Test plan: N.B: This patchset will not work on a sandbox 1) Navigate to Acquisitions and click New vendor 2) The toolbar should appear at the top of the page underneath Add vendor 3) Scroll down, the toolbar should stick and be given the 'floating' class 4) Scroll back up and the toolbar should unstick and lose the 'floating' class Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Lucas Gass (cherry picked from commit 716980ce2f1e397ce226b07acd4c51a6e03e3a4c) Signed-off-by: Paul Derscheid --- .../prog/js/vue/components/Toolbar.vue | 30 +++++++++++- .../vue/components/Vendors/VendorFormAdd.vue | 48 ++++++++++--------- .../prog/js/vue/modules/acquisitions.ts | 4 +- 3 files changed, 57 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue index cd968c2029..3db1eee90b 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue @@ -1,5 +1,9 @@ @@ -7,5 +11,29 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorFormAdd.vue index 4f770c0456..669653fa82 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorFormAdd.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorFormAdd.vue @@ -1,32 +1,30 @@