Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-09-01 00:49:11 +0300
committerdartcafe <github@dartcafe.de>2020-09-01 00:49:11 +0300
commit46678428e6dcfd422712f9a89415523f478ae10d (patch)
treeb920453b6f2a0aa5f68f172cefdd52ecbab3297f /src
parent70e7da4fc07b0f6cc2b3e074949eaa6ff51226b3 (diff)
center background image
Diffstat (limited to 'src')
-rw-r--r--src/js/App.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js/App.vue b/src/js/App.vue
index 08a849e0..4b38452c 100644
--- a/src/js/App.vue
+++ b/src/js/App.vue
@@ -65,6 +65,9 @@ export default {
return {
backgroundImage: 'url(' + this.settings.imageUrl + ')',
backgroundSize: 'cover',
+ backgroundPosition: 'center center',
+ backgroundAttachment: 'fixed',
+ backgroundRepeat: 'no-repeat',
}
} else {
return {}