From 9ec357f49f69574580611dd94a324ebd8645dfeb Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Sat, 29 Dec 2018 11:41:10 -0800 Subject: [PATCH] s/inner/outer --- site.css | 2 +- src/components/root.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/site.css b/site.css index a40191b..8c3a364 100644 --- a/site.css +++ b/site.css @@ -14,7 +14,7 @@ div { h1 { color: #69c; font-size: 45px; - font-weight: normal; + font-weight: lighter; line-height: 60px; margin-bottom: 0; margin-left: 30px; diff --git a/src/components/root.tsx b/src/components/root.tsx index 61e64a2..0e4e2fc 100644 --- a/src/components/root.tsx +++ b/src/components/root.tsx @@ -21,8 +21,8 @@ export class Root extends React.PureComponent { state: State = { gridHeights: [], - pageBottom: window.innerHeight + window.pageYOffset, - width: window.innerWidth + pageBottom: window.outerHeight + window.pageYOffset, + width: window.outerWidth }; componentDidMount() { @@ -93,8 +93,8 @@ export class Root extends React.PureComponent { private _onViewChange = () => { this.setState({ - pageBottom: window.innerHeight + window.pageYOffset, - width: window.innerWidth + pageBottom: window.outerHeight + window.pageYOffset, + width: window.outerWidth }); };