sforkowany z mirror/soapbox
SoapboxConfig: improve ColorPicker styles
rodzic
65beeedb59
commit
df714f1112
|
@ -38,13 +38,13 @@ const ColorWithPicker: React.FC<IColorWithPicker> = ({ buttonId, label, value, o
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='label_input__color'>
|
<div>
|
||||||
<label>{label}</label>
|
<label>{label}</label>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
ref={node}
|
ref={node}
|
||||||
id={buttonId}
|
id={buttonId}
|
||||||
className='color-swatch'
|
className='w-8 h-8 rounded-md'
|
||||||
role='presentation'
|
role='presentation'
|
||||||
style={{ background: value }}
|
style={{ background: value }}
|
||||||
title={value}
|
title={value}
|
||||||
|
|
|
@ -179,7 +179,7 @@ const SoapboxConfig: React.FC = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Column label={intl.formatMessage(messages.heading)}>
|
<Column label={intl.formatMessage(messages.heading)}>
|
||||||
<Form onSubmit={handleSubmit} className='simple_form space-y-4'>
|
<Form onSubmit={handleSubmit}>
|
||||||
<fieldset className='space-y-6' disabled={isLoading}>
|
<fieldset className='space-y-6' disabled={isLoading}>
|
||||||
<SitePreview soapbox={soapbox} />
|
<SitePreview soapbox={soapbox} />
|
||||||
|
|
||||||
|
@ -229,7 +229,7 @@ const SoapboxConfig: React.FC = () => {
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<Stack space={2}>
|
<Stack space={2} className='simple_form'>
|
||||||
<Checkbox
|
<Checkbox
|
||||||
name='verifiedCanEditName'
|
name='verifiedCanEditName'
|
||||||
label={intl.formatMessage(messages.verifiedCanEditNameLabel)}
|
label={intl.formatMessage(messages.verifiedCanEditNameLabel)}
|
||||||
|
|
Ładowanie…
Reference in New Issue