diff options
-rw-r--r-- | modern/public/index.html | 4 | ||||
-rw-r--r-- | modern/public/styles.css | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/modern/public/index.html b/modern/public/index.html index fd82d597..f4d436c0 100644 --- a/modern/public/index.html +++ b/modern/public/index.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en" style="height: 100%;"> +<html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no" /> @@ -9,7 +9,7 @@ <link rel="stylesheet" href="%PUBLIC_URL%/styles.css"> <title>Traccar</title> </head> - <body style="margin: 0; padding: 0; height: 100%;"> + <body> <noscript> You need to enable JavaScript to run this app. </noscript> diff --git a/modern/public/styles.css b/modern/public/styles.css index 147c3e3f..e0fed800 100644 --- a/modern/public/styles.css +++ b/modern/public/styles.css @@ -1,3 +1,12 @@ +html, body { + height: 100%; +} + +body { + margin: 0; + padding: 0; +} + canvas { outline: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); |