aboutsummaryrefslogtreecommitdiff
path: root/modern/public
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 08:25:40 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 08:25:40 -0700
commit61ed5eb5fc88dbbf43bdce03b555e932313ab551 (patch)
tree16cff49f9315d6715dd840e964a1a2fb42aaf110 /modern/public
parentcd41e1a8d4dc69ffdef289720c59a10c3489bc83 (diff)
downloadtrackermap-web-61ed5eb5fc88dbbf43bdce03b555e932313ab551.tar.gz
trackermap-web-61ed5eb5fc88dbbf43bdce03b555e932313ab551.tar.bz2
trackermap-web-61ed5eb5fc88dbbf43bdce03b555e932313ab551.zip
Move styles to css file
Diffstat (limited to 'modern/public')
-rw-r--r--modern/public/index.html4
-rw-r--r--modern/public/styles.css9
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);