mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-07 07:56:12 +02:00
Merge pull request #350 from travisk-codes/349-right-sidebar-position
Prevent ToC from repositioning when zoom is <100%
This commit is contained in:
@@ -3,8 +3,7 @@ import fontFamily from "../../design/typography"
|
|||||||
import { darken } from "polished"
|
import { darken } from "polished"
|
||||||
|
|
||||||
export const Content = styled.div`
|
export const Content = styled.div`
|
||||||
flex: 1 1 calc(100% - 305px);
|
flex: 1 1 calc(1vw - 305px);
|
||||||
width: calc(100% - 305px);
|
|
||||||
padding: 64px 0;
|
padding: 64px 0;
|
||||||
|
|
||||||
@media screen and (max-width: 1200px) {
|
@media screen and (max-width: 1200px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user