Skip to content

Commit

Permalink
Merge pull request #549 from open-formulieren/of-task/3414-change-but…
Browse files Browse the repository at this point in the history
…ton-style-for-cosigning

[OF#3414] Change co-sign section concerning styling
  • Loading branch information
sergei-maertens authored Sep 25, 2023
2 parents 8e268a1 + efb2994 commit ed50f27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/LoginOptions/LoginOptionsDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const LoginOptionsDisplay = ({
)}

{cosignLoginInfo && (
<>
<div className={getBEMClassName('login-options__cosign')}>
<h2 className={getBEMClassName('login-options__caption')}>
<FormattedMessage
description="Log in to co-sign the form title"
Expand All @@ -46,7 +46,7 @@ const LoginOptionsDisplay = ({
</h2>

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

@include bem.element('cosign') {
padding-block: var(--of-login-options-cosign-padding-block);
padding-inline: var(--of-login-options-cosign-padding-inline);
background-color: var(--of-login-options-cosign-background-color);
}
}

0 comments on commit ed50f27

Please sign in to comment.