Kndeh commited on
Commit
48d751e
·
1 Parent(s): be7986f

fix: prevent shaking

Browse files
Files changed (1) hide show
  1. src/style.css +8 -1
src/style.css CHANGED
@@ -1,4 +1,4 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
2
 
3
  html,
4
  body,
@@ -7,6 +7,13 @@ body,
7
  font-family: "Inter", sans-serif !important;
8
  }
9
 
 
 
 
 
 
 
 
10
  /* Hide Streamlit top-right hamburger & footer */
11
  #MainMenu {
12
  visibility: hidden;
 
1
+ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
2
 
3
  html,
4
  body,
 
7
  font-family: "Inter", sans-serif !important;
8
  }
9
 
10
+ /* Prevent UI jitter/shaking caused by scrollbar appearing/disappearing */
11
+ [data-testid="stAppViewContainer"],
12
+ [data-testid="stMain"],
13
+ .stApp {
14
+ overflow-y: scroll !important;
15
+ }
16
+
17
  /* Hide Streamlit top-right hamburger & footer */
18
  #MainMenu {
19
  visibility: hidden;