Skip to content

Commit

Permalink
tweak design for security level selection (#11600)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkylstad authored Nov 16, 2023
1 parent c5be695 commit 3b6eb97
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/language/src/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@
"policy_editor.rules": "Regler for tilgang til applikasjonen",
"policy_editor.security_level_description": "Sikkerhetsnivået du setter her blir minstekrav for innloggingsmetoden til bruker. Sikkerhetsnivå 1 og 2 er kun tilgjengelig via API. Skal bruker logge seg inn via ID-porten blir minstekrav sikkerhetsnivå 3.",
"policy_editor.security_level_label": "Sikkerhetsnivå",
"policy_editor.select_auth_level_help_text_content": "Ler mer om sikkerhetsnivå og innlogging for sluttbruker.",
"policy_editor.select_auth_level_help_text_content": "Les mer om sikkerhetsnivå og innlogging for sluttbruker.",
"policy_editor.select_auth_level_label": "Velg minimum påkrevd sikkerhetsnivå for bruker",
"policy_editor.verification_modal_action_button": "Ja, slett regel",
"policy_editor.verification_modal_close_button": "Nei, gå tilbake",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.alertWrapper {
margin-bottom: 20px;
max-width: 650px;
}

.alert {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@

.link {
display: inline;
font: var(--fds-typography-paragraph-small);
}

.securityLevelContainer {
max-width: 650px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const SecurityLevelSelect = ({
}, [t]);

return (
<div>
<div className={classes.securityLevelContainer}>
<Heading level={2} size='xxsmall' spacing>
{t('policy_editor.security_level_label')}
</Heading>
Expand All @@ -57,7 +57,7 @@ export const SecurityLevelSelect = ({
<Label size='small' htmlFor={SELECT_AUTH_LEVEL_ID}>
{t('policy_editor.select_auth_level_label')}
</Label>
<HelpText title={t('policy_editor.select_auth_level_help_text')}>
<HelpText size='small' title={t('policy_editor.select_auth_level_help_text')}>
<Link
href={URL_TO_SECURITY_LEVEL_PAGE}
target='_newTab'
Expand Down

0 comments on commit 3b6eb97

Please sign in to comment.