meeww commited on
Commit
e410892
·
verified ·
1 Parent(s): d7b0d89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -0
app.py CHANGED
@@ -185,6 +185,31 @@ iface = gr.Interface(
185
  title = "Minecraft Skin Generator <style>img{image-rendering: pixelated;}</style>", #<-- EWW GROSS IK IK IM SORRY, BUT THAT'S THE ONLY WAY I FOUND IT TO WORK
186
  head=head, # Add the Babylon.js library to the interface
187
  allow_flagging=False,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
 
189
 
190
 
 
185
  title = "Minecraft Skin Generator <style>img{image-rendering: pixelated;}</style>", #<-- EWW GROSS IK IK IM SORRY, BUT THAT'S THE ONLY WAY I FOUND IT TO WORK
186
  head=head, # Add the Babylon.js library to the interface
187
  allow_flagging=False,
188
+ css = """
189
+ /* width */
190
+ ::-webkit-scrollbar {
191
+ width: 20px;
192
+ }
193
+
194
+ /* Track */
195
+ ::-webkit-scrollbar-track {
196
+ box-shadow: inset 0 0 5px grey;
197
+ border-radius: 10px;
198
+ }
199
+
200
+ /* Handle */
201
+ ::-webkit-scrollbar-thumb {
202
+ background: red;
203
+ border-radius: 10px;
204
+ }
205
+
206
+ /* Handle on hover */
207
+ ::-webkit-scrollbar-thumb:hover {
208
+ background: #b30000;
209
+ }
210
+
211
+
212
+ """
213
 
214
 
215