diff --git a/static/index.html b/static/index.html
index ae04336..44c7612 100644
--- a/static/index.html
+++ b/static/index.html
@@ -302,7 +302,7 @@
var x = document.querySelector("#legacy_hardware");
var y = document.querySelector("#show_legacy_hardware");
if (x.style.display === "none") {
- x.style.display = "block";
+ x.style.display = "flex";
y.innerHTML = "hide legacy hardware »";
} else {
x.style.display = "none";