Fix text truncation of buttons (#33)

This commit is contained in:
Thomas
2021-04-21 21:13:38 +02:00
committed by GitHub
parent dbed4ea527
commit 9d92c48ab7
3 changed files with 21 additions and 2 deletions

View File

@@ -26,9 +26,9 @@
>In Progress</ng-container
>
</div>
<div class="mt-2">
<div class="mt-2 overflow-hidden">
<button
class="mb-2 mr-2"
class="mb-2 mr-2 mw-100"
color="accent"
mat-flat-button
(click)="onFlushCache()"
@@ -37,6 +37,7 @@
<span i18n>Reset Data Gathering</span>
</button>
<button
class="mw-100"
color="warn"
mat-flat-button
[disabled]="dataGatheringInProgress"

View File

@@ -16,6 +16,18 @@
}
}
}
.mat-flat-button {
::ng-deep {
.mat-button-wrapper {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
}
}
}
:host-context(.is-dark-theme) {