Add new story for darkmode (#317)

* Add a new story for dark mode

* Reorganize storybook menu

* Fix command menu margins

* Fix tests
This commit is contained in:
Félix Malfait
2023-06-17 14:52:49 +02:00
committed by GitHub
parent 299ca293a8
commit 5ae5f28dcb
14 changed files with 87 additions and 36 deletions

View File

@ -10,7 +10,6 @@ export const StyledDialog = styled(Command.Dialog)`
max-width: 640px;
overflow: hidden;
padding: 0;
padding: 25px;
position: fixed;
top: 50%;
transform: translate(-50%, -50%);

View File

@ -5,7 +5,7 @@ import { getRenderWrapperForPage } from '~/testing/renderWrappers';
import { CommandMenu } from '../CommandMenu';
const meta: Meta<typeof CommandMenu> = {
title: 'Pages/Search/CommandMenu',
title: 'Modules/Search/CommandMenu',
component: CommandMenu,
};