Layout fixes
Mobile cleanup
Location right hand side
Moon style updated - again
This commit is contained in:
fraxle
2026-05-27 20:30:39 +01:00
parent 7a2a8dcb6f
commit 9b7089ca06
6 changed files with 57 additions and 36 deletions
+9 -10
View File
@@ -277,14 +277,6 @@ export function UTCIForecast() {
<span class="title-sun">SUN</span><span class="title-scope">Scope</span>
</h1>
<div class="utci-tagline">See the sun the way your body does.</div>
<div class="utci-current-loc">
${location.name}
<span class="utci-loc-coords">
${location.lat.toFixed(3)}°, ${location.lon.toFixed(3)}°
</span>
</div>
${fetchedAt && !loading && html`
<div class="utci-fetch-time">Last update: ${fetchedAt.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}</div>`}
</div>
<div class="scope-col">
@@ -316,8 +308,7 @@ export function UTCIForecast() {
<div class="header-right">
<div class="utci-search-wrap">
<label class="utci-search-label">Change location</label>
<input
<input
class="utci-search"
type="text"
placeholder="Search any town or city…"
@@ -350,6 +341,14 @@ export function UTCIForecast() {
</div>`}
${searching && html`<div class="utci-searching">Searching…</div>`}
</div>
<div class="utci-current-loc">
${location.name}
<span class="utci-loc-coords">
${location.lat.toFixed(3)}°, ${location.lon.toFixed(3)}°
</span>
</div>
${fetchedAt && !loading && html`
<div class="utci-fetch-time">Last update: ${fetchedAt.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })}</div>`}
</div>
</div>