Skip to content

Commit

Permalink
feat(inscription): style the inline maps
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiguelv committed Nov 11, 2024
1 parent ef1777b commit 6939c07
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion frontend/src/routes/inscription/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@
>
<DefaultMarker {lngLat}>
<Popup offset={[0, -10]}>
<div class="marker">{metadata.provenanceFound._}</div>
<div class="popup">
{metadata.provenanceFound._}
</div>
</Popup>
</DefaultMarker>
</MapLibre>
Expand Down Expand Up @@ -260,10 +262,18 @@
}
:global(.map) {
border: var(--border-size-1) solid var(--text-1);
font-family: var(--font-family);
height: 300px;
width: 100%;
}
:global(.maplibregl-popup-content .popup) {
max-height: 200px;
max-width: 200px;
overflow: scroll;
}
@media (max-width: 768px) {
div.sections {
grid-template-columns: 1fr;
Expand Down

0 comments on commit 6939c07

Please sign in to comment.