Skip to content

Commit

Permalink
fix: Adjust css so focus container for helpText in accessControl in S…
Browse files Browse the repository at this point in the history
…ettingsModal fits content (#13952)

Co-authored-by: Jonas Dyrlie <[email protected]>
  • Loading branch information
standeren and Jondyr authored Oct 31, 2024
1 parent df67230 commit df8e50d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
gap: var(--fds-spacing-2);
}

.helpText {
height: fit-content;
}

.docsLinkText {
margin-top: var(--fds-spacing-10);
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ export const AccessControlTab = (): ReactNode => {
<TabContent>
<div className={classes.tabHeaderContent}>
<TabHeader text={t('settings_modal.access_control_tab_heading')} />
<HelpText title={t('settings_modal.access_control_tab_help_text_title')} placement='top'>
<HelpText
size='small'
title={t('settings_modal.access_control_tab_help_text_title')}
className={classes.helpText}
>
{t('settings_modal.access_control_tab_help_text_heading')}
</HelpText>
</div>
Expand Down

0 comments on commit df8e50d

Please sign in to comment.