Add proper capitalization to page titles and location names.
This commit is contained in:
@@ -196,6 +196,7 @@
|
|||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tiploc {
|
.tiploc {
|
||||||
|
|||||||
@@ -167,6 +167,7 @@
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
color: var(--color-title);
|
color: var(--color-title);
|
||||||
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
header,
|
header,
|
||||||
nav {
|
nav {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export const load: PageLoad = async ({ url }) => {
|
|||||||
const locId = url.searchParams.get('loc');
|
const locId = url.searchParams.get('loc');
|
||||||
|
|
||||||
if (!LOCATIONS.loaded) {
|
if (!LOCATIONS.loaded) {
|
||||||
await LOCATIONS.init(fetch);
|
await LOCATIONS.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
let title: string = '';
|
let title: string = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user