aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenzo Tilve <ltilve@igalia.com>2020-09-11 00:46:57 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-09-11 16:14:41 +0200
commitb82053421e20fc299786749f8eeccd9a561a0afd (patch)
treeb6f0bf0fa35a783e3f0b37fcbfca55f165f64ef8
parenta2bbc26171b8c53d789da18fa6c73182325bbab0 (diff)
Bug-AGL: SPEC-3574 Signed-off-by: Lorenzo Tilve <ltilve@igalia.com> Change-Id: I029dbe77053fcb82beb8e8a354aed63b939878cf
-rw-r--r--src/styles/landscape.scss5
-rw-r--r--src/styles/main.scss2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/styles/landscape.scss b/src/styles/landscape.scss
index 0c4f745..4785823 100644
--- a/src/styles/landscape.scss
+++ b/src/styles/landscape.scss
@@ -1,4 +1,9 @@
@media (orientation: landscape) {
+
+ html {
+ background-image: url('../images/horizontal_background.png');
+ }
+
body {
.speedometertop {
display: block;
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 9137445..e3fa602 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -4,7 +4,7 @@
html {
height: 100%;
- background-color: #000000;
+ background-size: cover;
-webkit-overflow-scrolling: touch;
overflow: hidden;
}