X-Git-Url: http://www.average.org/gitweb/?p=pulsecounter.git;a=blobdiff_plain;f=web%2Findex.html;h=f70f51b05686131df6ff06c82a605a3fdcebf1f8;hp=f63467190945b58bd4d7aae8eb7c81639a1603ce;hb=c8af811215f62722a7788dd6754e66c72c90bcf8;hpb=9dcf18f64ca3a0df27551f392d2ad0263479af52
diff --git a/web/index.html b/web/index.html
index f634671..f70f51b 100644
--- a/web/index.html
+++ b/web/index.html
@@ -338,16 +338,19 @@ div#queries {
}
div.query {
display: inline-block;
+ position: relative;
width: 8em;
height: 8em;
border: solid 1px black;
background-color: lightgray;
cursor: pointer;
- vertical-align: middle;
}
-span.query {
- display: inline-block;
- vertical-align: middle; /* does not work for some reason */
+div.label {
+ display: block;
+ width: 100%;
+ position: absolute;
+ top: 50%;
+ transform: translate(0, -50%);
}
body {
margin: 0px;
@@ -365,12 +368,12 @@ body {