Browse Source

[fix] wrap suggestions inside suggestion box

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

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


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


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

131
 // suggestion
131
 // suggestion
132
 .suggestion_item {
132
 .suggestion_item {
133
     margin: 2px 5px;
133
     margin: 2px 5px;
134
+    max-width: 100%;
135
+
136
+    .btn {
137
+        max-width: 100%;
138
+        white-space: normal;
139
+        word-wrap: break-word;
140
+        text-align: left;
141
+    }
134
 }
142
 }
135
 
143
 
136
 // download result
144
 // download result

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

64
 // suggestion
64
 // suggestion
65
 .suggestion_item {
65
 .suggestion_item {
66
     margin: 2px 5px;
66
     margin: 2px 5px;
67
+    max-width: 100%;
68
+
69
+    .btn {
70
+        max-width: 100%;
71
+        white-space: normal;
72
+        word-wrap: break-word;
73
+        text-align: left;
74
+    }
67
 }
75
 }
68
 
76
 
69
 // download result
77
 // download result