summaryrefslogtreecommitdiff
path: root/searx/static
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-02-17 22:10:34 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2022-02-18 22:44:43 +0100
commit05c105b8371e3766dba35e815601881d83ef6383 (patch)
tree06c79a31e6ddcbee2254cc7c627e13c4758413ba /searx/static
parentbf2a2ed48faf511a609d3b084b02066d69549015 (diff)
downloadsearxng-05c105b8371e3766dba35e815601881d83ef6383.tar.gz
searxng-05c105b8371e3766dba35e815601881d83ef6383.zip
[fix] bandcamp: fix itemtype (album|track) and exceptions
BTW: polish implementation and show tracklist for albums Closes: https://github.com/searxng/searxng/issues/883 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static')
-rw-r--r--searx/static/themes/simple/src/less/embedded.less10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/embedded.less b/searx/static/themes/simple/src/less/embedded.less
index 4a43ea78d..1074802f2 100644
--- a/searx/static/themes/simple/src/less/embedded.less
+++ b/searx/static/themes/simple/src/less/embedded.less
@@ -17,3 +17,13 @@ iframe[src^="https://www.mixcloud.com"] {
// 200px, somtimes 250px.
height: 250px;
}
+
+iframe[src^="https://bandcamp.com/EmbeddedPlayer"] {
+ // show playlist
+ height: 350px;
+}
+
+iframe[src^="https://bandcamp.com/EmbeddedPlayer/track"] {
+ // hide playlist
+ height: 120px;
+}