diff --git a/components/settings/PeppolReceiveSettings.tsx b/components/settings/PeppolReceiveSettings.tsx index 0d29e532..f692dc90 100644 --- a/components/settings/PeppolReceiveSettings.tsx +++ b/components/settings/PeppolReceiveSettings.tsx @@ -152,7 +152,7 @@ export function PeppolReceiveSettings() { return ( -
+
{loadFailed ? ( {t('load_failed')} ) : state === null ? ( @@ -160,34 +160,38 @@ export function PeppolReceiveSettings() { ) : !transportAvailable ? ( {t('provider_required')} ) : ( - <> - {accessLine} +
+ {accessLine} {sendsLine && {sendsLine}} - +
+ )} + {/* The request controls live under the status text and wrap: a long + checkbox label next to a button in a shrink-0 end slot pushed the + whole settings panel wider than its column. */} + {state !== null && transportAvailable && (access?.status === 'none' || access?.status === 'disabled') && ( +
+ + +
)}
- {state !== null && transportAvailable && (access?.status === 'none' || access?.status === 'disabled') && ( - - - - - )} {/* Receiving is a separate grant (one contracted slot each): the switch