Skip to content

Commit

Permalink
add wms legend
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Oct 1, 2024
1 parent 0bf638f commit 9e316c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/viewer/components/legend-types/Image.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function ImageLegend({ url }) {
return <img src={url} className="m-w-full" />;
}
4 changes: 4 additions & 0 deletions src/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -245,3 +245,7 @@ $footer-height: 40px;
.max-wrapper {
overflow-y: auto;
}

.m-w-full {
max-width: 100%;
}

0 comments on commit 9e316c7

Please sign in to comment.