Skip to content

Commit

Permalink
[open-formulieren/open-forms#3414] Made co-sign section more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
vaszig committed Sep 22, 2023
1 parent 8e268a1 commit 6c5acbd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/components/LoginOptions/LoginOptionsDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@ const LoginOptionsDisplay = ({

{cosignLoginInfo && (
<>
<h2 className={getBEMClassName('login-options__caption')}>
<FormattedMessage
description="Log in to co-sign the form title"
defaultMessage="Log in to co-sign the form"
/>
</h2>

<LoginButton key={cosignLoginInfo.identifier} option={cosignLoginInfo} />
<div className={getBEMClassName('login-options__cosign')}>
<h2 className={getBEMClassName('login-options__caption')}>
<FormattedMessage
description="Log in to co-sign the form title"
defaultMessage="Log in to co-sign the form"
/>
</h2>

<LoginButton key={cosignLoginInfo.identifier} option={cosignLoginInfo} />
</div>
</>
)}
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/scss/components/_login-options.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@
@include margin(auto);
}
}

.#{prefix(login-options__cosign)} {
padding: 0.6em;
background-color: var(--of-color-read-only-bg);
}

0 comments on commit 6c5acbd

Please sign in to comment.