Skip to content

Commit

Permalink
speedspacechart, trackoccupancy diagram: fix partially hidden stories…
Browse files Browse the repository at this point in the history
… + typo

Signed-off-by: Alice Khoudli <[email protected]>
  • Loading branch information
Synar committed Jan 20, 2025
1 parent 885865b commit 9b145fb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { mergeConfig } from 'vite';
/** @type { import('@storybook/html-vite').StorybookConfig } */
const config: StorybookConfig = {
stories: [
// TODO: remove this when every stories are migrated to `@osrd-project/stroybook/stories/`
// TODO: remove this when every stories are migrated to `@osrd-project/storybook/stories/`
'../../**/src/**/*.stories.@(js|jsx|mjs|ts|tsx)',
'../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)',
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,14 @@ const meta: Meta<typeof TrackOccupancyDiagramStory> = {
component: TrackOccupancyDiagramStory,
decorators: [(Story) => <Story />],
parameters: {
layout: 'centered',
backgrounds: {
default: 'dark',
default: 'lightSand',
values: [
{
name: 'lightSand',
value: 'rgba(247, 246, 238, var(--tw-bg-opacity, 1))',
},
],
},
},
args: {
Expand Down
6 changes: 0 additions & 6 deletions ui-speedspacechart/src/stories/SpeedSpaceChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ const meta: Meta<typeof SpeedSpaceChart> = {
title: 'SpeedSpaceChart/Rendering',
component: SpeedSpaceChart,
decorators: [(Story) => <Story />],
parameters: {
layout: 'centered',
backgrounds: {
default: 'dark',
},
},
args: {
width: 1440,
height: 521.5,
Expand Down

0 comments on commit 9b145fb

Please sign in to comment.