diff --git a/src/assets/action.scss b/src/assets/action.scss index ef6bb27ccf..67b75a0228 100644 --- a/src/assets/action.scss +++ b/src/assets/action.scss @@ -115,7 +115,7 @@ &__longtext { cursor: pointer; // allow the use of `\n` - white-space: pre-wrap; + white-space: pre-wrap !important; } &__name { @@ -126,5 +126,13 @@ max-width: 100%; display: inline-block; } + + &__menu-icon { + // Push to the right + margin-left: auto; + // Align with right end of the button + // This is the padding-right + margin-right: -$icon-margin; + } } } diff --git a/src/components/NcActionButton/NcActionButton.vue b/src/components/NcActionButton/NcActionButton.vue index 328ed52ad0..8101f87a16 100644 --- a/src/components/NcActionButton/NcActionButton.vue +++ b/src/components/NcActionButton/NcActionButton.vue @@ -26,35 +26,32 @@ This component is made to be used inside of the [NcActions](#NcActions) componen ```vue @@ -217,6 +211,9 @@ export default { {{ text }} + + + @@ -224,6 +221,7 @@ export default {