bichle commited on
Commit
2ce6448
·
verified ·
1 Parent(s): f612621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -132,7 +132,16 @@ def load_css():
132
  border-radius: 10px !important;
133
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
134
  }
135
-
 
 
 
 
 
 
 
 
 
136
  </style>
137
  """, unsafe_allow_html=True)
138
 
 
132
  border-radius: 10px !important;
133
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
134
  }
135
+
136
+ /* ===== 7. CỐ ĐỊNH DATAFRAME (KHỬ RUNG) ===== */
137
+ div[data-testid="stDataFrame"] {
138
+ /* Buộc sử dụng GPU acceleration và cố định vị trí render */
139
+ transform: translateZ(0);
140
+ -webkit-backface-visibility: hidden;
141
+ /* Đảm bảo nó không bị ảnh hưởng bởi layout xung quanh */
142
+ will-change: transform, contents;
143
+ }
144
+
145
  </style>
146
  """, unsafe_allow_html=True)
147