Merge pull request #350 from travisk-codes/349-right-sidebar-position

Prevent ToC from repositioning when zoom is <100%
This commit is contained in:
Jean-Philippe Sirois
2020-09-21 15:57:25 -04:00
committed by GitHub
+1 -2
View File
@@ -3,8 +3,7 @@ import fontFamily from "../../design/typography"
import { darken } from "polished"
export const Content = styled.div`
flex: 1 1 calc(100% - 305px);
width: calc(100% - 305px);
flex: 1 1 calc(1vw - 305px);
padding: 64px 0;
@media screen and (max-width: 1200px) {