From 662479e3122a8ff441a2d08736f0c476e23369f0 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 22 Dec 2019 23:16:23 -0500 Subject: [PATCH] [O] Use different centering method --- src/App.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 03e7b85..3da7c69 100644 --- a/src/App.vue +++ b/src/App.vue @@ -34,8 +34,7 @@ let dim = `rgba(0, 0, 0, ${config.title.dim / 100})`; dim = `linear-gradient(${dim}, ${dim})`; - return `height: ${config.title.height}vh;` - + `line-height: ${config.title.height}vh;` // Center align + return `padding: ${config.title.height / 2 - 5}vh 0;` + `background-image: ${dim}, url(${require('./assets/' + config.title.background)});` + `color: ${config.title.text_color}`; }