From b9cc097562b93d15d3f7b69eb518353cddb4dbfa Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 15 Jul 2024 15:15:36 +0200 Subject: [PATCH] fix(NcActions): Use full window height * Calculate the space on the window based on the trigger location. * Respect boundaries element for popover height * Assign NcContent as NcActions > NcPopover default boundaries Co-authored-by: Maksim Sukharev Co-authored-by: Ferdinand Thiessen Signed-off-by: Ferdinand Thiessen --- src/components/NcActions/NcActions.vue | 88 ++++++++++++++++++-------- styleguide.config.cjs | 1 + styleguide/assets/styleguide.css | 13 ++++ 3 files changed, 74 insertions(+), 28 deletions(-) create mode 100644 styleguide/assets/styleguide.css diff --git a/src/components/NcActions/NcActions.vue b/src/components/NcActions/NcActions.vue index ec4c0e5e77..0993086368 100644 --- a/src/components/NcActions/NcActions.vue +++ b/src/components/NcActions/NcActions.vue @@ -726,7 +726,7 @@ import CheckIcon from 'vue-material-design-icons/Check.vue' import OpenInNewIcon from 'vue-material-design-icons/OpenInNew.vue' import DownloadIcon from 'vue-material-design-icons/Download.vue' -// Formating icons +// Formatting icons import FormatTitle from 'vue-material-design-icons/FormatTitle.vue' import FormatAlignLeft from 'vue-material-design-icons/FormatAlignLeft.vue' import FormatAlignCenter from 'vue-material-design-icons/FormatAlignCenter.vue' @@ -751,7 +751,7 @@ export default { OpenInNewIcon, DownloadIcon, - // Formating icons + // Formatting icons FormatTitle, FormatAlignLeft, FormatAlignCenter, @@ -764,7 +764,7 @@ export default { data() { return { selected: false, - // Formating + // Formatting checked: { bold: true, italic: false, @@ -918,16 +918,16 @@ export default {