Styling for all forms.
This commit is contained in:
@@ -42,7 +42,7 @@ const ShareButton = ({ websiteId, shareId }) => {
|
||||
<Text>Share</Text>
|
||||
</Button>
|
||||
<Modal>
|
||||
<Dialog title={formatMessage(labels.share)} style={{ width: 600 }}>
|
||||
<Dialog title={formatMessage(labels.share)} style={{ width: 400 }}>
|
||||
{({ close }) => {
|
||||
return <WebsiteShareForm websiteId={websiteId} shareId={shareId} onClose={close} />;
|
||||
}}
|
||||
|
||||
@@ -43,7 +43,7 @@ const FieldsButton = ({ value, onChange }) => {
|
||||
<Text>Fields</Text>
|
||||
</Button>
|
||||
<Modal>
|
||||
<Dialog title={formatMessage(labels.fields)}>
|
||||
<Dialog title={formatMessage(labels.fields)} style={{ width: 400 }}>
|
||||
{({ close }) => (
|
||||
<FieldSelectForm selectedFields={value} onChange={onChange} onClose={close} />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user