move favorite star in front of title

This commit is contained in:
Maximilian Krambach 2019-02-11 16:01:32 +01:00 committed by Emanuel Schütze
parent 96a63ecd77
commit 7725005770
2 changed files with 14 additions and 10 deletions

View File

@ -46,7 +46,9 @@
<ng-container matColumnDef="identifier">
<mat-header-cell *matHeaderCellDef mat-sort-header>Identifier</mat-header-cell>
<mat-cell *matCellDef="let motion">
<div class="innerTable">{{ motion.identifier }}</div>
<div class="innerTable">
{{ motion.identifier }}
</div>
</mat-cell>
</ng-container>
@ -57,6 +59,10 @@
<div class="innerTable max-width">
<!-- title line -->
<div class="motion-list">
<!-- favorite icon -->
<span *ngIf="motion.star" class="favorite-star">
<mat-icon inline>star</mat-icon>
</span>
<!-- attachment icon -->
<span class="attached-files" *ngIf="motion.hasAttachments()">
<mat-icon>attach_file</mat-icon>
@ -65,10 +71,6 @@
<span class="motion-list-title">
{{ motion.title }}
</span>
<!-- favorite icon -->
<span *ngIf="motion.star" class="favorite-star">
<mat-icon inline>star</mat-icon>
</span>
</div>
<!-- submitters line -->
<div class="motion-list">
@ -92,7 +94,9 @@
<!-- recommendation -->
<span *ngIf="motion.recommendation && motion.state.next_states_id.length > 0">
<mat-basic-chip class="bluegrey" [disabled]="true">{{ getRecommendationLabel(motion) }} </mat-basic-chip>
<mat-basic-chip class="bluegrey" [disabled]="true">
{{ getRecommendationLabel(motion) }}
</mat-basic-chip>
</span>
</div>
</mat-cell>

View File

@ -38,7 +38,7 @@
font-size: 16px;
}
.favorite-star {
width: 26px;
padding-right: 3px;
}
}