Compare commits

...

1 Commits

Author SHA1 Message Date
Native
b0bbb9d318 fix: background color for full screen in light mode 2023-12-07 01:53:35 +05:30
2 changed files with 14 additions and 2 deletions

View File

@@ -5,3 +5,8 @@
border: none !important;
}
}
.fullscreen-grid-container--light {
@extend .fullscreen-grid-container;
background-color: #f5f5f5;
}

View File

@@ -141,7 +141,14 @@ function GraphLayout({ onAddPanelHandler }: GraphLayoutProps): JSX.Element {
)}
</ButtonContainer>
<FullScreen handle={handle} className="fullscreen-grid-container">
<FullScreen
handle={handle}
className={
isDarkMode
? 'fullscreen-grid-container'
: 'fullscreen-grid-container--light'
}
>
<ReactGridLayout
cols={12}
rowHeight={100}