From abc99c2f0b6542b00722dc8b6d2d16c736344ec7 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 6 May 2020 23:31:22 +0200 Subject: [PATCH] fix svg error in spinner --- src/ui/web/common.js | 4 ++-- src/ui/web/css/spinner.css | 2 +- src/ui/web/view-gallery.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ui/web/common.js b/src/ui/web/common.js index 4ef5cc6f..28faccef 100644 --- a/src/ui/web/common.js +++ b/src/ui/web/common.js @@ -1,5 +1,5 @@ export function spinner(t, extraClasses = undefined) { - return t.svg({className: Object.assign({"spinner": true}, extraClasses), viewBox:"0 0 100% 100%"}, + return t.svg({className: Object.assign({"spinner": true}, extraClasses), viewBox:"0 0 100 100"}, t.circle({cx:"50%", cy:"50%", r:"45%", pathLength:"100"}) ); -} \ No newline at end of file +} diff --git a/src/ui/web/css/spinner.css b/src/ui/web/css/spinner.css index 39b0e6be..be8192a6 100644 --- a/src/ui/web/css/spinner.css +++ b/src/ui/web/css/spinner.css @@ -23,7 +23,7 @@ animation-timing-function: linear; fill: none; stroke: currentcolor; - stroke-width: calc(var(--size) * 0.1); + stroke-width: 12; stroke-linecap: butt; } diff --git a/src/ui/web/view-gallery.html b/src/ui/web/view-gallery.html index 822aa89f..4cd8fd79 100644 --- a/src/ui/web/view-gallery.html +++ b/src/ui/web/view-gallery.html @@ -24,7 +24,7 @@ }

View Gallery

-

Session Status

+

Session Status Bar

Login