Merge pull request #4522 from emanuelschuetze/improvements
Minor layout improvements
This commit is contained in:
commit
0527b814bc
@ -557,7 +557,7 @@
|
||||
|
||||
<div class="form-id-title">
|
||||
<!-- Identifier -->
|
||||
<div *ngIf="editMotion && !newMotion" class="content-field form-identifier">
|
||||
<div *ngIf="editMotion && !newMotion && perms.isAllowed('change_metadata', motion)" class="content-field form-identifier">
|
||||
<mat-form-field *ngIf="editMotion">
|
||||
<input
|
||||
matInput
|
||||
|
@ -9,4 +9,8 @@
|
||||
|
||||
mat-card {
|
||||
margin-bottom: 20px;
|
||||
|
||||
mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
@ -4,12 +4,12 @@
|
||||
<h2><span translate>Motion block</span> – {{ data.data.motions.length }} <span translate>motions</span></h2>
|
||||
</div>
|
||||
|
||||
<div *ngFor="let motion of data.data.motions">
|
||||
<div *ngFor="let motion of data.data.motions" class="blockitem">
|
||||
<div class="ellipsis-overflow">
|
||||
{{ getMotionTitle(motion) }}
|
||||
</div>
|
||||
<div class="white ellipsis-overflow">
|
||||
<mat-basic-chip *ngIf="motion.recommendation" disableRipple [ngClass]="getStateCssColor(motion)">
|
||||
<mat-basic-chip *ngIf="motion.recommendation" disableRipple [ngClass]="getStateCssColor(motion)" class="block-recommendation">
|
||||
{{ getRecommendationLabel(motion) }}
|
||||
</mat-basic-chip>
|
||||
</div>
|
||||
|
@ -0,0 +1,4 @@
|
||||
.blockitem {
|
||||
line-height: 1;
|
||||
margin-bottom: 10px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user