From 573833d46a7f4e5b062b7433823511fc2f049394 Mon Sep 17 00:00:00 2001 From: Christian Hartmann Date: Wed, 1 Jul 2026 00:34:45 +0200 Subject: [PATCH] feat(NcActions): add wide prop for full-width menus feat(NcActions): add wide prop for full-width menus Signed-off-by: Christian Hartmann [skip ci] --- src/components/NcActions/NcActions.vue | 93 ++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/src/components/NcActions/NcActions.vue b/src/components/NcActions/NcActions.vue index 026772817c..01a47cf9ef 100644 --- a/src/components/NcActions/NcActions.vue +++ b/src/components/NcActions/NcActions.vue @@ -545,6 +545,86 @@ export default { ``` +### Wide buttons + +```vue + + +``` + ### Use cases ```vue @@ -1178,6 +1258,14 @@ export default { default: null, }, + /** + * Specifies whether the button should span all the available width. + */ + wide: { + type: Boolean, + default: false, + }, + /** * Specify the size used for trigger and single actions buttons. * @@ -2072,6 +2160,7 @@ export default { `action-item--${this.triggerButtonVariant}`, { 'action-item--open': this.opened, + 'action-item--wide': this.wide, }, ], }, @@ -2124,6 +2213,10 @@ export default { background-color: var(--open-background-color); } + &.action-item--wide { + width: 100%; + } + &__menutoggle__icon { width: 20px; height: 20px;