Skip to content

Commit

Permalink
Improve Let's Go scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Nov 1, 2024
1 parent 6b4f0d6 commit eaa6e77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Pkmds.Web/Components/LetsGoBoxGrid.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

@if (AppState.SaveFile is SAV7b { } saveFile)
{
<div class="box-grid-lets-go"
style="height:398px; overflow-x:auto;">
<div class="overflow-x-hidden overflow-y-none box-grid-lets-go">
@{
var count = 0;
}
Expand Down
9 changes: 8 additions & 1 deletion Pkmds.Web/Components/LetsGoBoxGrid.razor.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
.box-grid-lets-go {
width: 480px;
width: 420px;
height: 398px;
display: grid;
grid-template-columns: repeat(5, 80px);
grid-template-rows: repeat(200, 80px);
}

@media (min-width: 1280px) {
.box-grid-lets-go {
height: 796px;
}
}

0 comments on commit eaa6e77

Please sign in to comment.