Skip to content

Commit

Permalink
Resize grid for smaller windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmooney committed Jul 2, 2024
1 parent 518cd93 commit 833627b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/base/style/layerBrowser.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,16 @@
display: grid;
gap: 1.25rem;
grid-template-rows: 1fr;
grid-template-columns: repeat(5, minmax(0px, 1fr));
grid-template-columns: repeat(3, minmax(0px, 1fr));
padding: 1rem 2rem;
}

@media (min-width: 1400px) {
.jgis-layer-browser-grid {
grid-template-columns: repeat(5, minmax(0px, 1fr));
}
}

.jgis-dialog-override {
width: calc(100% - 4rem);
max-width: 100%;
Expand Down

0 comments on commit 833627b

Please sign in to comment.