Skip to content

Commit fe18579

Browse files
committed
Redux DevTools: Fix overflow
1 parent deb564e commit fe18579

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

app/containers/redux/DevTools.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import React from 'react'
22
import { useSelector, useDispatch } from 'react-redux'
3+
import styled from 'styled-components'
34
import { Container, Notification } from '@redux-devtools/ui'
45
import { clearNotification } from '@redux-devtools/app/lib/esm/actions'
56
import Actions from '@redux-devtools/app/lib/esm/containers/Actions'
67
import Settings from './Settings'
78
import Header from './Header'
89

10+
const StyledContainer = styled(Container)`overflow: hidden;`
11+
912
function App() {
1013
const section = useSelector((state) => state.section)
1114
const theme = useSelector((state) => state.theme)
@@ -23,7 +26,7 @@ function App() {
2326
}
2427

2528
return (
26-
<Container themeData={theme}>
29+
<StyledContainer themeData={theme}>
2730
<Header section={section} />
2831
{body}
2932
{notification && (
@@ -34,7 +37,7 @@ function App() {
3437
{notification.message}
3538
</Notification>
3639
)}
37-
</Container>
40+
</StyledContainer>
3841
)
3942
}
4043

0 commit comments

Comments
 (0)