...
This commit is contained in:
@@ -69,9 +69,16 @@
|
||||
<option value="@f">@f</option>
|
||||
}
|
||||
</select>
|
||||
<div class="col-picker" title="Cards per row">
|
||||
@for (var c = 1; c <= 6; c++)
|
||||
{
|
||||
var cols = c;
|
||||
<button class="col-btn @(gridColumns == cols ? "active" : "")" @onclick="() => gridColumns = cols">@cols</button>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="browser-grid">
|
||||
<div class="browser-grid" style="--grid-cols: @gridColumns">
|
||||
@foreach (var card in BrowserCards)
|
||||
{
|
||||
var count = CountInDeck(card.Name);
|
||||
@@ -239,6 +246,7 @@
|
||||
private string search = "";
|
||||
private string categoryFilter = "";
|
||||
private string factionFilter = "";
|
||||
private int gridColumns = 4;
|
||||
|
||||
private bool showDiverPicker;
|
||||
private int activeDiverSlot;
|
||||
|
||||
Reference in New Issue
Block a user