mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Only show padding when theme selector is visible in dropdown
This commit is contained in:
parent
93a96003be
commit
b61e627740
1 changed files with 5 additions and 3 deletions
|
|
@ -81,9 +81,11 @@ export function PrimaryDropdown(props: PrimaryDropdownProps): JSX.Element {
|
|||
)
|
||||
}
|
||||
>
|
||||
<VStack css={{ py: '12px', px: '24px' }}>
|
||||
{props.showThemeSection && <ThemeSection />}
|
||||
</VStack>
|
||||
{props.showThemeSection && (
|
||||
<VStack css={{ py: '12px', px: '24px' }}>
|
||||
<ThemeSection />
|
||||
</VStack>
|
||||
)}
|
||||
<DropdownOption
|
||||
onSelect={() => headerDropdownActionHandler('navigate-to-install')}
|
||||
title="Install"
|
||||
|
|
|
|||
Loading…
Reference in a new issue