theme: capitalize theme name in option for FF #178

This commit is contained in:
Sören Weber 2022-02-13 10:06:16 +01:00
parent f5455500fa
commit b1bb8e2290
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
2 changed files with 2 additions and 6 deletions

View file

@ -101,9 +101,9 @@
{{- $themename := replaceRE "[-_]+" " " $themevariant }} {{- $themename := replaceRE "[-_]+" " " $themevariant }}
{{- if $firsttheme }} {{- if $firsttheme }}
{{- $firsttheme = false }} {{- $firsttheme = false }}
<option id="{{ $themevariant }}" value="{{ $themevariant }}" selected>{{ $themename }}</option> <option id="{{ $themevariant }}" value="{{ $themevariant }}" selected>{{ $themename | title }}</option>
{{- else }} {{- else }}
<option id="{{ $themevariant }}" value="{{ $themevariant }}">{{ $themename }}</option> <option id="{{ $themevariant }}" value="{{ $themevariant }}">{{ $themename | title }}</option>
{{- end }} {{- end }}
{{- end }} {{- end }}
</select> </select>

View file

@ -1414,10 +1414,6 @@ h6 a {
cursor: pointer; cursor: pointer;
} }
.select-style #select-theme {
text-transform: capitalize;
}
@media only all and (max-width: 47.938em) { @media only all and (max-width: 47.938em) {
#breadcrumbs .links, #top-github-link-text { #breadcrumbs .links, #top-github-link-text {
display: none; display: none;