From 58384f71d8e0f5d296cec83b9207be7748b0a5f5 Mon Sep 17 00:00:00 2001 From: Bruno Besson Date: Wed, 4 Jan 2023 17:25:25 +0100 Subject: [PATCH 1/2] fix: use another approach to avoid multiline buttons on mobile --- src/js/vue-plugins/font-awesome-config.js | 2 ++ .../utils/LoadUserPreferencesButton.vue | 22 +++++++++++-- src/views/documents/utils/PrintButton.vue | 17 ++++++++-- src/views/documents/utils/QueryItems.vue | 31 ++++++++++--------- 4 files changed, 52 insertions(+), 20 deletions(-) diff --git a/src/js/vue-plugins/font-awesome-config.js b/src/js/vue-plugins/font-awesome-config.js index 902c1846b..64809922d 100644 --- a/src/js/vue-plugins/font-awesome-config.js +++ b/src/js/vue-plugins/font-awesome-config.js @@ -43,6 +43,7 @@ import { faDatabase } from '@fortawesome/free-solid-svg-icons/faDatabase'; import { faDirections } from '@fortawesome/free-solid-svg-icons/faDirections'; import { faDownload } from '@fortawesome/free-solid-svg-icons/faDownload'; import { faEdit } from '@fortawesome/free-solid-svg-icons/faEdit'; +import { faEllipsisVertical } from '@fortawesome/free-solid-svg-icons/faEllipsisVertical'; import { faExclamation } from '@fortawesome/free-solid-svg-icons/faExclamation'; import { faExclamationCircle } from '@fortawesome/free-solid-svg-icons/faExclamationCircle'; import { faExpand } from '@fortawesome/free-solid-svg-icons/faExpand'; @@ -271,6 +272,7 @@ export default function install(Vue) { faDirections, faDownload, faEdit, + faEllipsisVertical, faExclamation, faExclamationCircle, faExpand, diff --git a/src/views/documents/utils/LoadUserPreferencesButton.vue b/src/views/documents/utils/LoadUserPreferencesButton.vue index bc8d5b054..9cf0e1c0d 100644 --- a/src/views/documents/utils/LoadUserPreferencesButton.vue +++ b/src/views/documents/utils/LoadUserPreferencesButton.vue @@ -1,20 +1,36 @@