Add some hyphenation
Use hyphenation for motion details poll display. More lenient display of lpng poll names using hyphenation
This commit is contained in:
parent
4d4a3bb0db
commit
f707615875
@ -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>
|
||||
|
@ -729,6 +729,10 @@ button.mat-menu-item.selected {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.break-word {
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
.white {
|
||||
color: white;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user