Browse Source

[fix] wrap suggestions inside suggestion box

long suggestions now wrap around the box instead of going overboard.
marc 8 years ago
parent
commit
80460be8f6

File diff suppressed because it is too large
+ 0 - 0
searx/static/themes/oscar/css/logicodev.min.css


File diff suppressed because it is too large
+ 0 - 0
searx/static/themes/oscar/css/pointhi.min.css


+ 8 - 0
searx/static/themes/oscar/less/logicodev/results.less

@@ -131,6 +131,14 @@
 // suggestion
 // suggestion
 .suggestion_item {
 .suggestion_item {
     margin: 2px 5px;
     margin: 2px 5px;
+    max-width: 100%;
+
+    .btn {
+        max-width: 100%;
+        white-space: normal;
+        word-wrap: break-word;
+        text-align: left;
+    }
 }
 }
 
 
 // download result
 // download result

+ 8 - 0
searx/static/themes/oscar/less/pointhi/results.less

@@ -64,6 +64,14 @@
 // suggestion
 // suggestion
 .suggestion_item {
 .suggestion_item {
     margin: 2px 5px;
     margin: 2px 5px;
+    max-width: 100%;
+
+    .btn {
+        max-width: 100%;
+        white-space: normal;
+        word-wrap: break-word;
+        text-align: left;
+    }
 }
 }
 
 
 // download result
 // download result

Some files were not shown because too many files changed in this diff