26 lines
562 B
TypeScript
26 lines
562 B
TypeScript
|
import styled from "styled-components";
|
||
|
import ScrollBars from "styles/common/ScrollBars";
|
||
|
import { DEFAULT_SCROLLBAR_WIDTH } from "utils/constants";
|
||
|
|
||
|
const StyledPDF = styled.div`
|
||
|
${ScrollBars(DEFAULT_SCROLLBAR_WIDTH)};
|
||
|
|
||
|
display: block;
|
||
|
overflow: auto;
|
||
|
position: relative;
|
||
|
text-align: center;
|
||
|
top: 40px;
|
||
|
|
||
|
&& {
|
||
|
height: ${({ theme }) =>
|
||
|
`calc(100% - ${theme.sizes.titleBar.height}px - 40px)`};
|
||
|
}
|
||
|
|
||
|
canvas {
|
||
|
box-shadow: 0 0 5px hsla(0, 0%, 10%, 50%);
|
||
|
margin: 4px 4px 0;
|
||
|
}
|
||
|
`;
|
||
|
|
||
|
export default StyledPDF;
|