From b82053421e20fc299786749f8eeccd9a561a0afd Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Fri, 11 Sep 2020 00:46:57 +0200 Subject: Restore background image Bug-AGL: SPEC-3574 Signed-off-by: Lorenzo Tilve Change-Id: I029dbe77053fcb82beb8e8a354aed63b939878cf --- src/styles/landscape.scss | 5 +++++ src/styles/main.scss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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; } -- cgit 1.2.3-korg