We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2c3aa7 commit 968c09aCopy full SHA for 968c09a
src/styled-components/Tbody.js
@@ -29,8 +29,8 @@ const StyledTbody = styled(Tbody).attrs(({ isPrinting, height }) => (
29
width: 100%;
30
margin-right: auto;
31
margin-left: auto;
32
- overflow-y: ${props => props.isPrinting || props.innerHeight === props.visibleHeight ? 'hidden': 'scroll'};
33
- overflow-x: ${props => props.isPrinting ? 'hidden': 'scroll'};
+ overflow-y: ${props => props.isPrinting || props.innerHeight === props.height ? 'hidden': 'auto'};
+ overflow-x: ${props => props.isPrinting ? 'hidden': 'auto'};
34
border-bottom: 1px solid #ddd;
35
`;
36
0 commit comments