From ba11f65219d020e55b41561c2222a9b6177a4460 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Tue, 7 Jul 2026 10:41:51 +0100 Subject: [PATCH] Update miniMenu to allow selector to be a button, and use for filtering the gallery --- webapp/src/assets/less/variables.less | 19 ++++++++ .../components/genericComponents/miniMenu.vue | 35 ++++++++++++-- .../tabContentComponents/galleryContent.vue | 47 ++++++++++++++----- 3 files changed, 85 insertions(+), 16 deletions(-) diff --git a/webapp/src/assets/less/variables.less b/webapp/src/assets/less/variables.less index f7a499a4..b7773df6 100644 --- a/webapp/src/assets/less/variables.less +++ b/webapp/src/assets/less/variables.less @@ -372,6 +372,25 @@ } } +.ofm-top-nav-button { + margin-top: 4px; + height: 38px; +} + +.ofm-top-nav-square-button { + margin-top: 4px; + height: 38px; + width: 38px; +} + +.ofm-top-nav-square-button.material-icon { + // MAterial icons are 24x24 , set padding to centre + padding: 6px !important; + margin-top: 4px; + height: 38px; + width: 38px; +} + // A button styled like text. For use in menus .ofm-text-button { display: block; diff --git a/webapp/src/components/genericComponents/miniMenu.vue b/webapp/src/components/genericComponents/miniMenu.vue index 07cf23f9..a57067e3 100644 --- a/webapp/src/components/genericComponents/miniMenu.vue +++ b/webapp/src/components/genericComponents/miniMenu.vue @@ -1,9 +1,21 @@