mirror of
https://github.com/searxng/searxng.git
synced 2025-07-20 19:59:26 +02:00
[enh] oscar: image thumbnail layout
Adjust thumbnail sizes to fill the container width
This commit is contained in:
parent
ba90c5a2e0
commit
7a0fbdecc4
25 changed files with 513 additions and 230 deletions
|
@ -18,7 +18,7 @@
|
|||
'use strict';
|
||||
|
||||
searx.ready(function() {
|
||||
searx.image_thumbnail_layout = new searx.ImageLayout('#urls', '#urls .result-images', 'img.image_thumbnail', 200);
|
||||
searx.image_thumbnail_layout = new searx.ImageLayout('#urls', '#urls .result-images', 'img.image_thumbnail', 10, 200);
|
||||
searx.image_thumbnail_layout.watch();
|
||||
|
||||
searx.on('.btn-collapse', 'click', function(event) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue