summaryrefslogtreecommitdiff
path: root/searx/static
diff options
context:
space:
mode:
Diffstat (limited to 'searx/static')
-rw-r--r--searx/static/css/style.css8
-rw-r--r--searx/static/js/searx.js2
2 files changed, 8 insertions, 2 deletions
diff --git a/searx/static/css/style.css b/searx/static/css/style.css
index 0b87444e9..b24b97a68 100644
--- a/searx/static/css/style.css
+++ b/searx/static/css/style.css
@@ -75,7 +75,7 @@ a { text-decoration: none; }
.result h3 { font-size: 0.9em;}
.result { max-width: 70em; }
-.url { font-weight: bold; }
+.url { font-weight: bold; word-wrap:break-word; }
.q { width: 30em; }
@@ -140,3 +140,9 @@ tr:hover td { background: #DDDDDD; }
#suggestions { max-width: 50em;}
#suggestions form { display: inline; }
#suggestions input { padding: 2px 6px; margin: 2px 4px; font-size: 0.8em; display: inline-block; background: #E4E4E4; border-radius: 4px; border: 0; cursor: pointer; }
+
+@media screen and (max-width: 740px) {
+ .right { margin: 5px; }
+
+ #search_wrapper { max-width: 90%; clear:both }
+}
diff --git a/searx/static/js/searx.js b/searx/static/js/searx.js
index 5eb880f65..7b224a17f 100644
--- a/searx/static/js/searx.js
+++ b/searx/static/js/searx.js
@@ -17,7 +17,7 @@
addListener(w, 'load', function () {
var qinput = d.getElementById('q');
- if (qinput !== null) {
+ if (qinput !== null && qinput.value === "") {
addListener(qinput, 'focus', placeCursorAtEnd);
qinput.focus();
}