Update html_helper.py
Browse files- html_helper.py +2 -2
html_helper.py
CHANGED
@@ -83,9 +83,9 @@ def create_html_from_midi(midifile):
|
|
83 |
<a href="{midifile}" target="_blank" style="font-size: 14px;">Download MIDI</a> <br>
|
84 |
</div>
|
85 |
|
86 |
-
<div style="position: relative; width: 100
|
87 |
<style>
|
88 |
-
#proll {{
|
89 |
@media (max-width: 500px) {{ #proll {{ transform: scaleY(0.7); }} }}
|
90 |
@media (max-width: 450px) {{ #proll {{ transform: scaleY(0.6); }} }}
|
91 |
@media (max-width: 400px) {{ #proll {{ transform: scaleY(0.5); }} }}
|
|
|
83 |
<a href="{midifile}" target="_blank" style="font-size: 14px;">Download MIDI</a> <br>
|
84 |
</div>
|
85 |
|
86 |
+
<div style="position: relative; width: 100% height: 80%; display: flex; justify-content: center; align-items: center;">
|
87 |
<style>
|
88 |
+
#proll {{height: 550px; transform: scaleY(0.8); transform-origin: top; transition: transform 0.3s ease; }}
|
89 |
@media (max-width: 500px) {{ #proll {{ transform: scaleY(0.7); }} }}
|
90 |
@media (max-width: 450px) {{ #proll {{ transform: scaleY(0.6); }} }}
|
91 |
@media (max-width: 400px) {{ #proll {{ transform: scaleY(0.5); }} }}
|