Use shared settings target layout
This commit is contained in:
@@ -384,7 +384,7 @@ export function MailProfileScopeManager({
|
||||
<div className="mail-profile-manager">
|
||||
{targetSelectionRequired &&
|
||||
<Card title={i18nMessage("i18n:govoplan-mail.value_scope", { value0: targetLabel })}>
|
||||
<div className="mail-profile-target-row">
|
||||
<div className="settings-target-row">
|
||||
<FormField label={targetLabel}>
|
||||
<select value={selectedTargetId} onChange={(event) => setSelectedTargetId(event.target.value)} disabled={loading || busy || !hasSelectableTarget}>
|
||||
{!hasSelectableTarget && <option value="">{targetEmptyText}</option>}
|
||||
|
||||
@@ -3,11 +3,6 @@
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
|
||||
.mail-profile-target-row {
|
||||
max-width: 520px;
|
||||
}
|
||||
|
||||
.mail-profile-dialog .dialog-body {
|
||||
max-height: min(76vh, 820px);
|
||||
overflow: auto;
|
||||
|
||||
Reference in New Issue
Block a user