commit: 42c85a094acb77b65a10cda0c6673293aad72ba4
parent: b1c6b0a3f15576722743fe49ab02cd80301fcfd9
Author: Adam Tauber <asciimoo@gmail.com>
Date: Fri, 3 Jan 2014 17:33:17 -0800
Merge pull request #15 from dalf/master
[mod] no glitch on small screen like smartphone
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git 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 }
+}