Skip to content

Commit

Permalink
Update ReactController.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
SusanDoggie committed Aug 24, 2022
1 parent 747477a commit ed82517
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions Sources/ReactController/ReactController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,26 +140,6 @@ extension ReactController {
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover">
\(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) {
position: fixed;
}
}
</style>
\(externalCSSUrls.map { "<link rel=\"stylesheet\" href=\"\($0)\" />" }.joined(separator: "\n"))
\(css)
</head>
Expand Down

0 comments on commit ed82517

Please sign in to comment.