Updated layout for settings pages.
This commit is contained in:
@@ -14,14 +14,16 @@ export default function PasswordChangeButton() {
|
||||
return (
|
||||
<>
|
||||
{toast}
|
||||
<ModalTrigger modalProps={{ title: formatMessage(labels.changePassword) }}>
|
||||
<ModalTrigger>
|
||||
<Button>
|
||||
<Icon>
|
||||
<Icons.Lock />
|
||||
</Icon>
|
||||
<Text>{formatMessage(labels.changePassword)}</Text>
|
||||
</Button>
|
||||
<Modal>{close => <PasswordEditForm onSave={handleSave} onClose={close} />}</Modal>
|
||||
<Modal title={formatMessage(labels.changePassword)}>
|
||||
{close => <PasswordEditForm onSave={handleSave} onClose={close} />}
|
||||
</Modal>
|
||||
</ModalTrigger>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -35,7 +35,7 @@ export default function WebsiteDetails({ websiteId }) {
|
||||
showLink={false}
|
||||
stickyHeader={true}
|
||||
/>
|
||||
{!chartLoaded && <Loading icon="dots" />}
|
||||
{!chartLoaded && <Loading icon="dots" style={{ minHeight: 300 }} />}
|
||||
{chartLoaded && (
|
||||
<>
|
||||
{!view && <WebsiteTableView websiteId={websiteId} />}
|
||||
|
||||
Reference in New Issue
Block a user