Skip to content

Commit fd4e3c3

Browse files
authored
Merge pull request #3936 from nextcloud/fix/ncbutton-flex
2 parents f281f53 + 227a4a3 commit fd4e3c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/NcButton/NcButton.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,8 @@ export default {
429429
&__wrapper {
430430
display: inline-flex;
431431
align-items: center;
432-
justify-content: space-around;
432+
justify-content: center;
433+
width: 100%;
433434
}
434435
435436
&__icon {
@@ -446,6 +447,9 @@ export default {
446447
font-weight: bold;
447448
margin-bottom: 1px;
448449
padding: 2px 0;
450+
white-space: nowrap;
451+
text-overflow: ellipsis;
452+
overflow: hidden;
449453
}
450454
451455
// Icon-only button

0 commit comments

Comments
 (0)