Skip to content

Commit

Permalink
Fix layout issues with recent activity events' scores
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed May 23, 2024
1 parent 52c7c01 commit ad19fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/items/event.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ import {DecimalPipe} from "@angular/common";
<app-level-preview [level]="level!"></app-level-preview>
}
@case (EventDataType.score) {
<app-level-preview [level]="level!" class="grow max-w-[75%]"></app-level-preview>
<div class="flex flex-col text-center self-center">
<app-level-preview [level]="level!" class="grow"></app-level-preview>
<div class="flex flex-col text-center self-center max-w-fit">
<p class="font-bold text-xl">
{{ score?.score | number }}
points
Expand Down

0 comments on commit ad19fc0

Please sign in to comment.