diff --git a/queryads.php b/queryads.php index 190a2eaa..1eb1fe5d 100644 --- a/queryads.php +++ b/queryads.php @@ -15,27 +15,16 @@
- -
-
- - -
- - -
-
-
- -
-
- - - - - -
+ +
+ + + + + +
+
diff --git a/scripts/pi-hole/js/queryads.js b/scripts/pi-hole/js/queryads.js index e97578e7..a97eadd9 100644 --- a/scripts/pi-hole/js/queryads.js +++ b/scripts/pi-hole/js/queryads.js @@ -88,7 +88,7 @@ function eventsource() { } // Handle enter key -$("#domain_1, #domain_2").keypress(function (e) { +$("#domain").keypress(function (e) { if (e.which === 13) { // Enter was pressed, and the input has focus exact = ""; diff --git a/style/pi-hole.css b/style/pi-hole.css index 8b5c6e62..aff80c45 100644 --- a/style/pi-hole.css +++ b/style/pi-hole.css @@ -377,3 +377,20 @@ td.details-control { .allowed-row td { background-color: rgb(70, 149, 74, 0.1); } + +@media screen and (max-width: 991px) { + #domain-search-block { + display: block; + } + #domain { + margin: 5px 0; + } + #domain-search-block .input-group-btn { + margin: 5px 0; + text-align: center; + } + #domain-search-block .input-group-btn button { + margin: 0 2px; + border-radius: 3px; + } +}