TheBug95 commited on
Commit
f8bc4da
·
1 Parent(s): 6cc9a99

Error de brinco vhorizontal resuelto

Browse files
Files changed (1) hide show
  1. interface/main.py +9 -0
interface/main.py CHANGED
@@ -23,6 +23,15 @@ st.set_page_config(
23
  layout="wide",
24
  page_icon=config.APP_ICON,
25
  )
 
 
 
 
 
 
 
 
 
26
  # ── AUTHENTICATION GATE ───────────────────────────────────────────────────────
27
  if not require_auth():
28
  st.stop()
 
23
  layout="wide",
24
  page_icon=config.APP_ICON,
25
  )
26
+
27
+ # ── FIX: Prevent horizontal layout shift from scrollbar appearing/disappearing
28
+ st.markdown("""
29
+ <style>
30
+ html {
31
+ overflow-y: scroll;
32
+ }
33
+ </style>
34
+ """, unsafe_allow_html=True)
35
  # ── AUTHENTICATION GATE ───────────────────────────────────────────────────────
36
  if not require_auth():
37
  st.stop()