Merge pull request #6076 from tsiegleauq/more-lenient-word-breaking

Add some hyphenation
This commit is contained in:
Emanuel Schütze 2021-05-25 21:49:16 +02:00 committed by GitHub
commit 43d73a87f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -4,7 +4,7 @@
<!-- Title Area -->
<div class="poll-title-area">
<!-- Title -->
<span class="poll-title">
<span class="poll-title break-word">
<a [routerLink]="pollLink">
{{ poll.title | translate }}
</a>
@ -22,10 +22,10 @@
<!-- Subtitle -->
<div class="italic spacer-bottom-20">
<!-- Type and State -->
<div class="type-and-state italic spacer-bottom-20">
<div class="type-and-state italic spacer-bottom-20 break-word">
<span *osPerms="permission.motionsCanManagePolls; and: poll.isEVoting">
<os-icon-container
class="poll-type"
class="poll-type break-word"
icon="info"
color="primary"
[swap]="true"
@ -39,7 +39,7 @@
</span>
<!-- State -->
<span>
<span class="break-word">
{{ poll.stateVerbose | translate }}
</span>
</div>

View File

@ -729,6 +729,10 @@ button.mat-menu-item.selected {
white-space: nowrap;
}
.break-word {
hyphens: auto;
}
.white {
color: white;
}