From 305a301caf4e806c3aa5fe380e80bc1f7497b494 Mon Sep 17 00:00:00 2001 From: Anita Lipsky Date: Sun, 27 Oct 2024 08:12:31 +0100 Subject: [PATCH] style: Remove redundant. Improved header/map/footer ratios --- src/alpaca-map.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/alpaca-map.js b/src/alpaca-map.js index 5b7cb83..9ffc680 100644 --- a/src/alpaca-map.js +++ b/src/alpaca-map.js @@ -24,12 +24,10 @@ export default class AlpacaMap extends LitElement { background-color: white; display: inline-block; border: 1px solid black; - height: 100%; - width: auto; display: grid; grid-template-columns: 1fr; - grid-template-rows: 1fr 5fr 1fr; + grid-template-rows: auto 5fr 1fr; grid-column-gap: 0px; grid-row-gap: 0px; @@ -90,8 +88,8 @@ export default class AlpacaMap extends LitElement { .header-container { background-color: white; - margin: 0.5em; overflow: hidden; + padding: 0.25em 0em 0.25em 0em; } .map-container { @@ -102,7 +100,7 @@ export default class AlpacaMap extends LitElement { display: flex; align-items: center; justify-content: space-between; - padding: 0.5em 0.5em 0.5em 0.5em; + padding: 0.5em 0em 0.5em 0em; background-color: white;