m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-13 07:38:26 +0200
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-13 07:38:26 +0200
commitf24109ecdd456d4b270289b1b1201f646d0f18a4 (patch)
tree1c3339244d2e86ec3a6a3ae7599a89c8ca28454b /templates
parent67cccf2759c64d75e8389171f001359f35e0b465 (diff)
Fix widths
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>