diff --git a/website/src/components/Map.astro b/website/src/components/Map.astro index 736e982..b38d1d2 100644 --- a/website/src/components/Map.astro +++ b/website/src/components/Map.astro @@ -33,6 +33,12 @@ const { showStyleURL } = Astro.props position: relative; } + @media (max-width: 550px) { + #map-container { + height: 300px; + } + } + #mapbg-image { width: 100%; height: 100%; diff --git a/website/src/layouts/Layout.astro b/website/src/layouts/Layout.astro index b190dc2..a0b7c30 100644 --- a/website/src/layouts/Layout.astro +++ b/website/src/layouts/Layout.astro @@ -1,9 +1,6 @@ --- -interface Props { - title: string -} - -const { title } = Astro.props +const { frontmatter } = Astro.props || {} +const { title, container } = frontmatter || Astro.props import '../styles/_style.css' --- @@ -32,7 +29,14 @@ import '../styles/_style.css'
-