ahmadsanafarooq commited on
Commit
cb8c269
·
verified ·
1 Parent(s): 4ff9712

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1252,7 +1252,7 @@ def show_main_app():
1252
  margin-bottom: 0.6rem;
1253
  }
1254
 
1255
- /* File Uploader */
1256
  [data-testid="stFileUploaderDropzone"] {
1257
  border-radius: 12px; /* More rounded */
1258
  border: 2px dashed #a0a8b4;
@@ -1265,6 +1265,10 @@ def show_main_app():
1265
  border-color: #5d6dbe; /* Highlight on hover */
1266
  background-color: #f7f9fb;
1267
  }
 
 
 
 
1268
  /* Hide the redundant 'Drag and drop file here' text */
1269
  [data-testid="stFileUploaderDropzone"] p:first-child {
1270
  display: none;
@@ -1283,7 +1287,6 @@ def show_main_app():
1283
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
1284
  }
1285
 
1286
-
1287
  /* Information, Success, Error, Warning Boxes */
1288
  [data-testid="stAlert"] {
1289
  border-radius: 10px;
 
1252
  margin-bottom: 0.6rem;
1253
  }
1254
 
1255
+ /* File Uploader */
1256
  [data-testid="stFileUploaderDropzone"] {
1257
  border-radius: 12px; /* More rounded */
1258
  border: 2px dashed #a0a8b4;
 
1265
  border-color: #5d6dbe; /* Highlight on hover */
1266
  background-color: #f7f9fb;
1267
  }
1268
+ /* ADD THIS NEW RULE */
1269
+ [data-testid="stFileUploaderDropzone"] p {
1270
+ color: black !important; /* Forces the text color to black */
1271
+ }
1272
  /* Hide the redundant 'Drag and drop file here' text */
1273
  [data-testid="stFileUploaderDropzone"] p:first-child {
1274
  display: none;
 
1287
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
1288
  }
1289
 
 
1290
  /* Information, Success, Error, Warning Boxes */
1291
  [data-testid="stAlert"] {
1292
  border-radius: 10px;