Skip to content

Commit

Permalink
refactor(website): hide output options when accessing general options
Browse files Browse the repository at this point in the history
Signed-off-by: jerensl <[email protected]>
  • Loading branch information
jerensl committed Sep 14, 2024
1 parent f175444 commit 558c4bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modelina-website/src/components/playground/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const Sidebar: React.FunctionComponent = () => {
title={item.title}
onClick={() => handleClick({ name: item.name })}
className={clsx('border-box flex p-2 text-sm focus:outline-none disabled:opacity-25', {
'hidden md:block': item.name === 'output-options' && state.open === 'general-options',
'md:hidden': item.devices === 'mobile'
})}
disabled={item.name === 'output-options' && state.open === 'general-options' && state.device === 'mobile'}
Expand Down

0 comments on commit 558c4bd

Please sign in to comment.