mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-08 03:15:14 +00:00
Dark UI for react-select
This commit is contained in:
@@ -46,6 +46,8 @@ export function DNSProviderFields() {
|
||||
DNS Provider
|
||||
</label>
|
||||
<Select
|
||||
className="react-select-container"
|
||||
classNamePrefix="react-select"
|
||||
name={field.name}
|
||||
id="dnsProvider"
|
||||
closeMenuOnSelect={true}
|
||||
|
||||
@@ -91,6 +91,8 @@ export function DomainNamesField({
|
||||
{intl.formatMessage({ id: label })}
|
||||
</label>
|
||||
<CreatableSelect
|
||||
className="react-select-container"
|
||||
classNamePrefix="react-select"
|
||||
name={field.name}
|
||||
id={id}
|
||||
closeMenuOnSelect={true}
|
||||
|
||||
@@ -103,6 +103,8 @@ export function SSLCertificateField({
|
||||
{isError ? <div className="invalid-feedback">{`${error}`}</div> : null}
|
||||
{!isLoading && !isError ? (
|
||||
<Select
|
||||
className="react-select-container"
|
||||
classNamePrefix="react-select"
|
||||
defaultValue={options[0]}
|
||||
options={options}
|
||||
components={{ Option }}
|
||||
|
||||
@@ -107,7 +107,7 @@ export function SSLOptionsFields() {
|
||||
|
||||
<Field name="letsencryptEmail">
|
||||
{({ field }: any) => (
|
||||
<div className="row mt-5">
|
||||
<div className="mt-5">
|
||||
<label htmlFor="letsencryptEmail" className="form-label">
|
||||
Email Address for Let's Encrypt
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user