Deadmon commited on
Commit
5fb14ce
1 Parent(s): 4470145

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -61,6 +61,7 @@ css = """
61
  max-width: 600px;
62
  margin-left: auto;
63
  margin-right: auto;
 
64
  }
65
 
66
  /* Hide scrollbar for WebKit browsers (Chrome, Safari) */
@@ -71,21 +72,17 @@ css = """
71
  /* Hide scrollbar for Firefox */
72
  #app-container {
73
  scrollbar-width: none; /* For Firefox */
74
- -ms-overflow-style: none; /* For Internet Explorer and Edge */
75
  }
76
 
77
- /* Ensure content is scrollable but scrollbar is hidden */
78
  #app-container {
79
- overflow: -moz-scrollbars-none;
80
  -ms-overflow-style: none;
81
- overflow: scroll;
82
  }
83
 
84
  /* Hide the 'built with' message */
85
  .built-with.svelte-1rjryqp.svelte-1rjryqp.svelte-1rjryqp {
86
  display: none !important;
87
  }
88
-
89
  """
90
 
91
  with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
 
61
  max-width: 600px;
62
  margin-left: auto;
63
  margin-right: auto;
64
+ overflow: hidden; /* Ensures scrollbars don't show */
65
  }
66
 
67
  /* Hide scrollbar for WebKit browsers (Chrome, Safari) */
 
72
  /* Hide scrollbar for Firefox */
73
  #app-container {
74
  scrollbar-width: none; /* For Firefox */
 
75
  }
76
 
77
+ /* Hide scrollbar for Internet Explorer and Edge */
78
  #app-container {
 
79
  -ms-overflow-style: none;
 
80
  }
81
 
82
  /* Hide the 'built with' message */
83
  .built-with.svelte-1rjryqp.svelte-1rjryqp.svelte-1rjryqp {
84
  display: none !important;
85
  }
 
86
  """
87
 
88
  with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app: