Skip to content

Commit

Permalink
Update ReactController.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
SusanDoggie committed Feb 8, 2022
1 parent 7299e47 commit 45afde3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/ReactController/ReactController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,17 @@ extension ReactController {
\(meta.joined(separator: "\n"))
<style>
html, body {
width: 100%;
height: 100%;
}
#\(self.root) {
display: flex;
width: 100%;
height: 100%;
}
@media (orientation: landscape) {
html, body {
width: 100vw;
height: 100vh;
}
#\(self.root) {
Expand Down

0 comments on commit 45afde3

Please sign in to comment.