ez326 commited on
Commit
e630f8b
·
verified ·
1 Parent(s): 2d35e22

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -36,6 +36,10 @@ css = """
36
  width: 36px !important;
37
  height: 36px !important;
38
  }
 
 
 
 
39
  /* Hide slider tick marks, tick bar, min/max texts, and empty slider label */
40
  div[data-baseweb="slider"] .Tick,
41
  div[data-baseweb="slider"] .TickBar,
 
36
  width: 36px !important;
37
  height: 36px !important;
38
  }
39
+ /* Prevent scrolling on mobile while interacting with the slider */
40
+ div[data-baseweb="slider"] {
41
+ touch-action: pan-x !important;
42
+ }
43
  /* Hide slider tick marks, tick bar, min/max texts, and empty slider label */
44
  div[data-baseweb="slider"] .Tick,
45
  div[data-baseweb="slider"] .TickBar,