Fix the width of the country’s select

This commit is contained in:
jordi fita mas 2023-01-28 00:11:56 +01:00
parent 0a58e2699e
commit 7513030334
2 changed files with 5 additions and 1 deletions

View File

@ -260,6 +260,10 @@ input.width-2x {
min-width: 60.95rem;
}
.input .width-fixed {
max-width: 30rem;
}
.input input::placeholder {
color: transparent;
}

View File

@ -44,7 +44,7 @@
</div>
<div class="input">
<select id="country" name="country">
<select id="country" name="country" class="width-fixed">
{{- range $country := .Countries }}
<option value="{{ .Code }}" {{ if eq .Code $.CountryCode }}selected="selected"{{ end }}>{{ .Name }}</option>
{{- end }}