Skip to content

Commit

Permalink
set css directly on helptext
Browse files Browse the repository at this point in the history
  • Loading branch information
standeren committed Oct 30, 2024
1 parent 5de6082 commit bc79290
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
.tabHeaderContent {
display: flex;
align-items: flex-start;
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 size='small' title={t('settings_modal.access_control_tab_help_text_title')}>
<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 bc79290

Please sign in to comment.