Optimizing a bit of stuff

This commit is contained in:
Fabian
2019-06-01 12:20:54 +02:00
parent 609ca4d3f5
commit b54fbe2059
11 changed files with 3350 additions and 38 deletions

View File

@ -42,7 +42,7 @@ export class Router extends Component<{}, { next?: JSX.Element, current: JSX.Ele
{this.state.next}
</div>
}
return <div style="position: relative; overflow-x: hidden; width: 100vw; height: 100vh;">
return <div style="position: relative; overflow-x: hidden; width: 100vw; height: calc(100vh - 2rem);">
<div class="transition_container uk-background-default" key={this.state.current.key} ref={elm => this.mounted = elm}>
{this.state.current}
</div>