diff --git a/src/assets/action.scss b/src/assets/action.scss index c5e1b1469f..5fd8488461 100644 --- a/src/assets/action.scss +++ b/src/assets/action.scss @@ -37,7 +37,7 @@ height: auto; margin: 0; padding: 0; - padding-right: $icon-margin; + padding-inline-end: $icon-margin; box-sizing: border-box; // otherwise router-link overflows in Firefox cursor: pointer; @@ -109,11 +109,7 @@ } &__menu-icon { - // Push to the right - margin-left: auto; - // Align with right end of the button - // This is the padding-right - margin-right: calc($icon-margin * -1); + margin-inline: auto calc($icon-margin * -1); } } } diff --git a/src/components/NcActionButton/NcActionButton.vue b/src/components/NcActionButton/NcActionButton.vue index f638495651..218e90c05d 100644 --- a/src/components/NcActionButton/NcActionButton.vue +++ b/src/components/NcActionButton/NcActionButton.vue @@ -354,8 +354,9 @@ export default { {{ text }} - - + + + @@ -368,7 +369,9 @@ export default {