Skip to content

Commit

Permalink
spacing for placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbesen committed Dec 18, 2024
1 parent 7653a2f commit 981135c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@foreach (var deal in Enumerable.Range(1, 30))
{
<div class="row rounded placeholder-glow">
<span class="col-12 rounded placeholder@(rowCounter % 2 == 0 ? " bg-white" : "")"></span>
<span class="col-12 rounded placeholder@(rowCounter % 2 == 0 ? " bg-white" : "")">&nbsp;</span>
</div>
rowCounter++;
}
Expand Down
2 changes: 1 addition & 1 deletion StpFoodBlazor/StpFoodBlazorTest/Pages/DealsTest.razor
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
var elements = cut.Find("#deals_table_body_placeholder");

Assert.Equal(30, elements.ChildElementCount);
Assert.Equal("<span class=\"col-12 rounded placeholder bg-white\"></span>",
Assert.Equal("<span class=\"col-12 rounded placeholder bg-white\">&nbsp;</span>",
elements.Children[0].InnerHtml);
}

Expand Down

0 comments on commit 981135c

Please sign in to comment.