Skip to content
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/components/Graphs/Graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ const Graph: React.FC = () => {
}

return (
<div className={styles.graphContainer} data-theme={isDarkTheme ? 'dark' : 'light'}>
<div
className={styles.graphContainer}
style={{ maxWidth: '1280px', margin: '0 auto' }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

styles for graph are in Graph.module.css graphContainer class. Could you please move it there? :)

data-theme={isDarkTheme ? 'dark' : 'light'}
>
<div className={styles.graphColumn}>
<ReactFlow
data-theme={isDarkTheme ? 'dark' : 'light'}
Expand Down
Loading