From 163ebcd327284033d122de8e1f0d869096cdb2e3 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 15 Jan 2021 19:33:55 +0100 Subject: [PATCH] actually position text in the center --- htdocs/css/openwebrx.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 689d0bc..2ed969a 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -573,9 +573,10 @@ img.openwebrx-mirror-img .openwebrx-progressbar-text { position: absolute; - left:0px; - top:4px; - width: inherit; + left:50; + top:50%; + transform: translate(-50%, -50%); + white-space: nowrap; z-index: 1; }