s/inner/outer
This commit is contained in:
2
site.css
2
site.css
@@ -14,7 +14,7 @@ div {
|
|||||||
h1 {
|
h1 {
|
||||||
color: #69c;
|
color: #69c;
|
||||||
font-size: 45px;
|
font-size: 45px;
|
||||||
font-weight: normal;
|
font-weight: lighter;
|
||||||
line-height: 60px;
|
line-height: 60px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ export class Root extends React.PureComponent<Props, State> {
|
|||||||
|
|
||||||
state: State = {
|
state: State = {
|
||||||
gridHeights: [],
|
gridHeights: [],
|
||||||
pageBottom: window.innerHeight + window.pageYOffset,
|
pageBottom: window.outerHeight + window.pageYOffset,
|
||||||
width: window.innerWidth
|
width: window.outerWidth
|
||||||
};
|
};
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
@@ -93,8 +93,8 @@ export class Root extends React.PureComponent<Props, State> {
|
|||||||
|
|
||||||
private _onViewChange = () => {
|
private _onViewChange = () => {
|
||||||
this.setState({
|
this.setState({
|
||||||
pageBottom: window.innerHeight + window.pageYOffset,
|
pageBottom: window.outerHeight + window.pageYOffset,
|
||||||
width: window.innerWidth
|
width: window.outerWidth
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user