Better image centering

The Firefox popup did not like the old CSS. This is still not perfect, but it's better than it was.
This commit is contained in:
Nathan Bierema 2024-08-17 14:59:25 -04:00
parent 0b19ee28e0
commit f348e277fc

View File

@ -8,11 +8,10 @@ html
body
#root
div(style='position: relative')
div(style='display: flex; justify-content: center; align-items: center')
img(
src='/img/loading.svg',
height=300, width=350,
style='position: absolute; top: 50%; left: 50%; margin-top: -150px; margin-left: -175px;'
)
link(href='/devpanel.bundle.css', rel='stylesheet')
script(src='/devpanel.bundle.js')