ahmadsanafarooq commited on
Commit
8db8f06
·
verified ·
1 Parent(s): cb8c269

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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,10 +1265,11 @@ def show_main_app():
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;
 
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
+ /* THIS IS THE UPDATED RULE FOR THE "DRAG AND DROP FILE HERE" TEXT */
1269
+ [data-testid="stFileUploaderDropzone"] > div > div > p {
1270
  color: black !important; /* Forces the text color to black */
1271
  }
1272
+
1273
  /* Hide the redundant 'Drag and drop file here' text */
1274
  [data-testid="stFileUploaderDropzone"] p:first-child {
1275
  display: none;