diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-02-07 21:59:21 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-02-13 14:20:47 +0100 |
commit | 98cab4cf754752e8a615b7b6c2685021592889a7 (patch) | |
tree | 8aac9568766473950db0747cd6a12e1b098384e5 /searx/static/themes/simple/src/less/style.less | |
parent | b9a2e8b387212d35cc83da50a07ee8fa47d2a56e (diff) | |
download | searxng-98cab4cf754752e8a615b7b6c2685021592889a7.tar.gz searxng-98cab4cf754752e8a615b7b6c2685021592889a7.zip |
[mod] result_templates/default.html replace embedded HTML by data_src audio_src
Embedded HTML breaks SearXNG architecture. To modularize, HTML is generated in
the templates (oscar & simple) and result parameter 'embedded' is replaced by
'data_src' (and 'audio_src'), an URL for embedded content (<iframe>).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/src/less/style.less')
-rw-r--r-- | searx/static/themes/simple/src/less/style.less | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 20662c1af..43f5e8994 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -296,6 +296,16 @@ article[data-vim-selected].category-social { padding: 0 5px 25px 0 !important; } +.audio-control audio { + width: 100%; + padding: 10px 0 0 0; +} + +.embedded-content iframe { + width: 100%; + padding: 10px 0 0 0; +} + .result-videos .content { overflow: hidden; } |