Skip to content

Commit ced26be

Browse files
committed
Prevent ToC from repositioning with zoom
1 parent 5385fb7 commit ced26be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/PageContent/styles.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import fontFamily from "../../design/typography"
33
import { darken } from "polished"
44

55
export const Content = styled.div`
6-
flex: 1 1 calc(100% - 305px);
7-
width: calc(100% - 305px);
6+
flex: 1 1 calc(1vw - 305px);
87
padding: 64px 0;
98
109
@media screen and (max-width: 1200px) {

0 commit comments

Comments
 (0)