Update html_helper.py
Browse files- html_helper.py +3 -3
html_helper.py
CHANGED
@@ -80,9 +80,9 @@ def create_html_from_midi(midifile):
|
|
80 |
}}
|
81 |
|
82 |
/* Media queries for responsive scaling */
|
83 |
-
@media (max-width: 500px) {{ #proll midi-visualizer .piano-roll-visualizer {{transform: scaleY(0.7);}} }}
|
84 |
-
@media (max-width: 400px) {{ #proll midi-visualizer .piano-roll-visualizer {{transform: scaleY(0.6);}} }}
|
85 |
-
@media (max-width: 300px) {{ #proll midi-visualizer .piano-roll-visualizer {{transform: scaleY(0.5);}} }}
|
86 |
</style>
|
87 |
</head>
|
88 |
<body>
|
|
|
80 |
}}
|
81 |
|
82 |
/* Media queries for responsive scaling */
|
83 |
+
@media (max-width: 500px) {{ #proll midi-visualizer .piano-roll-visualizer {{transform-origin: top; transform: scaleY(0.7);}} }}
|
84 |
+
@media (max-width: 400px) {{ #proll midi-visualizer .piano-roll-visualizer {{transform-origin: top; transform: scaleY(0.6);}} }}
|
85 |
+
@media (max-width: 300px) {{ #proll midi-visualizer .piano-roll-visualizer {{transform-origin: top; transform: scaleY(0.5);}} }}
|
86 |
</style>
|
87 |
</head>
|
88 |
<body>
|