s/inner/outer
This commit is contained in:
2
site.css
2
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;
|
||||
|
||||
@@ -21,8 +21,8 @@ export class Root extends React.PureComponent<Props, State> {
|
||||
|
||||
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<Props, State> {
|
||||
|
||||
private _onViewChange = () => {
|
||||
this.setState({
|
||||
pageBottom: window.innerHeight + window.pageYOffset,
|
||||
width: window.innerWidth
|
||||
pageBottom: window.outerHeight + window.pageYOffset,
|
||||
width: window.outerWidth
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user