diff --git a/app/public/index.html b/app/public/index.html index 49570df..33c49e2 100644 --- a/app/public/index.html +++ b/app/public/index.html @@ -22,28 +22,6 @@

Weather

- Open-Meteo ยท RainViewer
@@ -290,6 +268,29 @@ + + diff --git a/app/public/style.css b/app/public/style.css index 19fab1c..9733e8f 100644 --- a/app/public/style.css +++ b/app/public/style.css @@ -105,6 +105,8 @@ a:hover { text-decoration: underline; } left: 0; right: 0; bottom: 0; + width: 100vw; + max-width: 100vw; z-index: 300; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); @@ -115,6 +117,13 @@ a:hover { text-decoration: underline; } border-top: 1px solid rgba(121, 165, 191, 0.36); } +@supports (bottom: env(safe-area-inset-bottom)) { + .tabs { + bottom: 0; + padding-bottom: calc(0.45rem + env(safe-area-inset-bottom)); + } +} + .tab { border: none; border-radius: 12px; @@ -791,6 +800,8 @@ body.high-contrast { left: 0; right: 0; bottom: 0; + width: 100vw; + max-width: 100vw; z-index: 300; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));