Skip to content

Commit

Permalink
rearrange card layout
Browse files Browse the repository at this point in the history
  • Loading branch information
vpchung committed Oct 26, 2023
1 parent b06605d commit db0c521
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@
<p class="mat-caption">{{ desc }}</p>
</div>
<div class="card-footer">
<mat-icon aria-hidden="true" class="card-icon">auto_awesome</mat-icon>
<mat-icon aria-hidden="true" class="card-icon">emoji_events</mat-icon>
<div class="difficulty-tag mat-small">
{{ incentives }}
</div>
<div class="status-tag mat-small" [ngClass]="statusClass">
{{ status }}
<div class="platform-tag mat-small">
<mat-icon aria-hidden="true" class="card-icon">location_on</mat-icon>
{{ platform.name }}
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,10 @@
flex: 1;
@include general.line-clamp(2);
}
.status-tag {
.platform-tag {
max-width: 110px;
margin-left: 6px;
padding: 4px 0;
padding-right: 8px;
display: flex;
flex-direction: column;
flex-basis: 100%;
box-sizing: border-box;
align-items: center;
justify-content: center;
border-width: 1px;
border-style: solid;
border-radius: constants.$dl-radius-radius-radius16;
justify-content: flex-start;
}

0 comments on commit db0c521

Please sign in to comment.