Skip to content

Commit

Permalink
Closes 494 ? misaligned
Browse files Browse the repository at this point in the history
  • Loading branch information
karesti committed Oct 17, 2024
1 parent 27e74e1 commit 611a59d
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/app/AppLayout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,6 @@ const AppLayout: React.FunctionComponent<IAppLayout> = ({ children }) => {
align={{ default: 'alignRight' }}
spacer={{ default: 'spacerNone', md: 'spacerMd' }}
>
<ToolbarItem>
<Switch
id="darkThemeSwitch"
isChecked={theme === 'dark'}
onChange={toggleTheme}
ouiaId="DarkThemeOuiaId"
label={t('layout.dark-theme')}
className="darkThemeSwitch"
/>
</ToolbarItem>
<ToolbarItem>
<Dropdown
id="aboutInfoQuestionMark"
Expand All @@ -186,11 +176,22 @@ const AppLayout: React.FunctionComponent<IAppLayout> = ({ children }) => {
>
{t('layout.documentation-name')}
</DropdownItem>
<DropdownItem onClick={() => setIsAboutOpen(!isAboutOpen)} key="about" component="button">
<DropdownItem onClick={() => setIsAboutOpen(!isAboutOpen)} key="about" component="button">
{t('layout.about-name')}
</DropdownItem>
</Dropdown>
</ToolbarItem>
<ToolbarItem>
<Switch
id="darkThemeSwitch"
isChecked={theme === 'dark'}
onChange={toggleTheme}
ouiaId="DarkThemeOuiaId"
label={t('layout.dark-theme')}
className="darkThemeSwitch"
/>
</ToolbarItem>
</ToolbarGroup>
{!ConsoleServices.authentication().isNotSecured() && userActions()}
</ToolbarContent>
Expand Down

0 comments on commit 611a59d

Please sign in to comment.