diff --git a/src/assets/action.scss b/src/assets/action.scss
index 37b2ac1296..36800f6a3c 100644
--- a/src/assets/action.scss
+++ b/src/assets/action.scss
@@ -109,7 +109,16 @@
overflow: hidden;
white-space: nowrap;
max-width: 100%;
- display: inline-block;
+ display: block;
+ }
+
+ &__description {
+ display: block;
+ white-space: pre-wrap;
+ font-size: var(--font-size-small);
+ line-height: var(--default-line-height);
+ color: var(--color-text-maxcontrast);
+ cursor: pointer;
}
&__menu-icon {
diff --git a/src/components/NcActionButton/NcActionButton.vue b/src/components/NcActionButton/NcActionButton.vue
index c5edaa9583..5d16439166 100644
--- a/src/components/NcActionButton/NcActionButton.vue
+++ b/src/components/NcActionButton/NcActionButton.vue
@@ -53,7 +53,9 @@ This component is made to be used inside of the [NcActions](#NcActions) componen
```
-If you're using a long text you can specify a name
+If you're using a long text, you can specify a `name` prop.
+
+For the same purpose, but in a more compact way, `description` prop can be used.
```vue
@@ -70,15 +72,23 @@ If you're using a long text you can specify a name
This button is associated with a very long text.\nAnd with new lines too.
+
+
+
+
+ Edit
+