m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/song.html.erb4
-rw-r--r--templates/youtube.html.erb2
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/song.html.erb b/templates/song.html.erb
index 2c4164f..71a77bc 100644
--- a/templates/song.html.erb
+++ b/templates/song.html.erb
@@ -10,7 +10,9 @@
<%- end -%>
<%- if File.file?(src (song_ly song.id)) -%>
-<img src='<%= path_to (song_svg song.id) %>' />
+<div style='overflow: scroll;'>
+ <img src='<%= path_to (song_svg song.id) %>' />
+</div>
<%- end -%>
<%- if !song.recordings.empty? -%>
diff --git a/templates/youtube.html.erb b/templates/youtube.html.erb
index 821454b..67571d0 100644
--- a/templates/youtube.html.erb
+++ b/templates/youtube.html.erb
@@ -1 +1 @@
-<iframe width="560" height="315" src="https://www.youtube.com/embed/<%= @vid %>" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
+<iframe width="100%" height="315" src="https://www.youtube.com/embed/<%= @vid %>" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>