Put language selector in white

This commit is contained in:
Julie Lenaerts 2024-01-29 12:13:42 +01:00
parent 913d278533
commit e45503469a
2 changed files with 4 additions and 1 deletions

View File

@ -102,6 +102,9 @@ header.header {
border: 1px solid $chill-orange; border: 1px solid $chill-orange;
} }
} }
.lang-select {
color: white;
}
} }
main > section { main > section {

View File

@ -7,7 +7,7 @@
{{ $pageLink := replace (replace $context.RelPermalink (add $pageLang "/") "") $base.Path "/" }} {{ $pageLink := replace (replace $context.RelPermalink (add $pageLang "/") "") $base.Path "/" }}
{{ if $context.IsTranslated }} {{ if $context.IsTranslated }}
<select class="{{ $class }}" onchange="location = this.value"> <select class="{{ $class }} lang-select" onchange="location = this.value">
{{ range $siteLanguages }} {{ range $siteLanguages }}
{{ if eq (string $pageLang) (string .Language) }} {{ if eq (string $pageLang) (string .Language) }}
<option <option