Merge pull request #4522 from emanuelschuetze/improvements

Minor layout improvements
This commit is contained in:
Emanuel Schütze 2019-03-21 15:38:50 +01:00 committed by GitHub
commit 0527b814bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -9,4 +9,8 @@
mat-card {
margin-bottom: 20px;
mat-form-field {
width: 100%;
}
}

View File

@ -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>

View File

@ -0,0 +1,4 @@
.blockitem {
line-height: 1;
margin-bottom: 10px;
}