From e47bebe7d489067d5788534781903ba799b5c886 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 17 Mar 2026 20:26:04 +0000 Subject: [PATCH] Add dynamic title sizing for better display on smaller screens --- src/routes/+layout.svelte | 1 + static/api/tiplocs | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index e59e8e1..0f6b99d 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -162,6 +162,7 @@ .page-title { font-family: 'URW Gothic', sans-serif; font-weight: 600; + font-size: clamp(0.9rem, 2.5vw + 0.8rem, 2rem); font-style: normal; margin-left: 5px; padding-bottom: 2px; diff --git a/static/api/tiplocs b/static/api/tiplocs index d1db816..afa6f60 100644 --- a/static/api/tiplocs +++ b/static/api/tiplocs @@ -100,5 +100,7 @@ {"n":"Stevenage Hitchin Junction","t":"STHJC","c":"","s":"stevenage hitchin junction sthjc"}, {"n":"Chelmsford New Hall Junction","t":"CHNJCT","c":"","s":"chelmsford new hall junction chnjct"}, {"n":"","t":"BPWY532","c":"","s":"bpwy532"}, - {"n":"Ipswich Derby Road Depot","t":"IPDRDP","c":"","s":"ipswich derby road depot ipdrdp"} + {"n":"Ipswich Derby Road Depot","t":"IPDRDP","c":"","s":"ipswich derby road depot ipdrdp"}, + {"n":"Rhoose Cardiff International Airport","c":"RIA","t":"RHOOSE","s":"rhoose cardiff international airport ria"}, + {"n":"Southampton Airport Parkway","c":"SOA","t":"SOTAPT","s":"southampton airport parkway soa sotapt"} ] \ No newline at end of file