Fix the width of the country’s select
This commit is contained in:
parent
0a58e2699e
commit
7513030334
|
@ -260,6 +260,10 @@ input.width-2x {
|
||||||
min-width: 60.95rem;
|
min-width: 60.95rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input .width-fixed {
|
||||||
|
max-width: 30rem;
|
||||||
|
}
|
||||||
|
|
||||||
.input input::placeholder {
|
.input input::placeholder {
|
||||||
color: transparent;
|
color: transparent;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<select id="country" name="country">
|
<select id="country" name="country" class="width-fixed">
|
||||||
{{- range $country := .Countries }}
|
{{- range $country := .Countries }}
|
||||||
<option value="{{ .Code }}" {{ if eq .Code $.CountryCode }}selected="selected"{{ end }}>{{ .Name }}</option>
|
<option value="{{ .Code }}" {{ if eq .Code $.CountryCode }}selected="selected"{{ end }}>{{ .Name }}</option>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue