m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-13 12:12:27 +0200
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-13 12:12:27 +0200
commitbcfff80bd95d1cf0b3cf76d44c9f3df09e8845a2 (patch)
tree21c1a80ea81ca0bea0d115e5419e1bb08ec0c854
parent7857b9f92cdc7c7920adfb2c9663d80c9c9bebf2 (diff)
Hide scrollbar when image fits
-rw-r--r--templates/song.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/song.html.erb b/templates/song.html.erb
index 71a77bc..5c8ef81 100644
--- a/templates/song.html.erb
+++ b/templates/song.html.erb
@@ -10,7 +10,7 @@
<%- end -%>
<%- if File.file?(src (song_ly song.id)) -%>
-<div style='overflow: scroll;'>
+<div style='overflow: auto;'>
<img src='<%= path_to (song_svg song.id) %>' />
</div>
<%- end -%>