mimbres commited on
Commit
4b7c8cf
·
verified ·
1 Parent(s): 73b4ea2

Update html_helper.py

Browse files
Files changed (1) hide show
  1. html_helper.py +5 -11
html_helper.py CHANGED
@@ -79,17 +79,11 @@ def create_html_from_midi(midifile):
79
  }}
80
 
81
  /* Media queries for responsive scaling */
82
- @media (max-width: 500px) {
83
- #proll midi-player {
84
- transform: scale(0.6);
85
- }
86
- }
87
-
88
- @media (max-width: 400px) {
89
- #proll midi-player {
90
- transform: scale(0.4);
91
- }
92
- }
93
  </style>
94
  </head>
95
  <body>
 
79
  }}
80
 
81
  /* Media queries for responsive scaling */
82
+ @media (max-width: 500px) {{ #proll midi-player {{transform: scale(0.7);}} }}
83
+ @media (max-width: 450px) {{ #proll midi-player {{transform: scale(0.6);}} }}
84
+ @media (max-width: 400px) {{ #proll midi-player {{transform: scale(0.5);}} }}
85
+ @media (max-width: 350px) {{ #proll midi-player {{transform: scale(0.4);}} }}
86
+ @media (max-width: 300px) {{ #proll midi-player {{transform: scale(0.3);}} }}
 
 
 
 
 
 
87
  </style>
88
  </head>
89
  <body>