Skip to content

Commit 00489b0

Browse files
Merge pull request #2938 from WISE-Community/issue-2929-component-annotation-ui-styles-fixes
Fixed ComponentAnnotations avatar spacing and color
2 parents 4ccc647 + 53a3e4b commit 00489b0

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/main/webapp/wise5/directives/componentAnnotations/component-annotations.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<mat-card class="annotations"
22
*ngIf="(showScore && annotations.score) || (showComment && annotations.comment)">
33
<mat-card-title class="annotations__header">
4-
<div class="annotations__avatar md-avatar avatar--icon avatar--square md-36 avatar md-whiteframe-1dp">
4+
<div class="annotations__avatar md-avatar avatar--icon avatar--square md-36 avatar accent-bg md-whiteframe-1dp">
55
<mat-icon class="annotations__icon md-36">{{icon}}</mat-icon>
66
</div>
77
<div class="annotations__title" fxLayout="row" flex>
88
<span>{{label}}</span>
9-
<span *ngIf="isNewAnnotation()" class="badge annotations__status animate-fade" i18n>New</span>
9+
<span *ngIf="isNewAnnotation()" class="badge annotations__status" i18n>New</span>
1010
</div>
1111
</mat-card-title>
12-
<mat-card-content class="annotations__body md-body-1">
12+
<mat-card-content class="annotations__body mat-body-1">
1313
<div *ngIf="showComment && annotations.comment.data.value" [innerHTML]="annotations.comment.data.value"></div>
1414
<hr *ngIf="annotations.comment" />
1515
<div fxLayout="row" fxLayoutAlign="start center">

src/main/webapp/wise5/directives/componentAnnotations/component-annotations.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ mat-card.annotations {
55
.annotations__title {
66
font-size: 15px;
77
}
8+
9+
.avatar .mat-icon {
10+
margin: 0;
11+
}

0 commit comments

Comments
 (0)