Skip to content

Commit

Permalink
Update LiveAnswers.razor
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Mar 27, 2024
1 parent 220098c commit 02c6c55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MyApp/Components/Pages/Questions/LiveAnswers.razor
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@
<div>
@foreach (var answer in question.Answers)
{
<div class="pb-8 border-b border-gray-200 dark:border-gray-700">
<div class="pt-4 pb-8 border-b border-gray-200 dark:border-gray-700">
<div class="flex">
<div class="md:w-32 pr-2">
@{
var userName = AppConfig.GetUserName(answer.Model);
}
<div class="mt-8 flex flex-col items-center">
<div class="flex flex-col items-center">
<img class="w-10 h-10 xl:w-20 xl:h-20 bg-cover inline-block" src="@userName.GetAvatarUrl()">
<div class="hidden md:block text-center whitespace-nowrap text-xs xl:text-sm font-semibold">@userName</div>
</div>
Expand Down Expand Up @@ -187,7 +187,7 @@
{
questionFiles = await QuestionsProvider.GetQuestionAsync(Id);
question = questionFiles.Question;
Progress = $"Waiting on {pendingJobs.Count} remaining answers...";
Progress = $"Waiting on {pendingJobs.Count} remaining answer{Plural(pendingJobs.Count)}...";
lastCount = pendingJobs.Count;
StateHasChanged();
}
Expand Down

0 comments on commit 02c6c55

Please sign in to comment.