jjin6573 commited on
Commit
0b18e76
·
verified ·
1 Parent(s): 43c2a6c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -1261,9 +1261,10 @@ footer,
1261
  backdrop-filter: blur(10px) !important;
1262
  z-index: 99999 !important;
1263
  justify-content: center !important;
1264
- align-items: center !important;
 
1265
  box-sizing: border-box !important;
1266
- /* Ensure modal is centered on viewport regardless of scroll position */
1267
  overflow: hidden !important;
1268
  }
1269
 
@@ -1278,7 +1279,7 @@ footer,
1278
  border-radius: 20px !important;
1279
  width: calc(100vw - 80px) !important;
1280
  max-width: 1200px !important;
1281
- max-height: 80vh !important;
1282
  overflow: hidden !important;
1283
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9) !important;
1284
  /* Remove margin that could affect centering */
@@ -1326,7 +1327,7 @@ footer,
1326
  .docs-modal-content {
1327
  padding: 24px !important;
1328
  overflow-y: auto !important;
1329
- max-height: calc(80vh - 80px) !important;
1330
  color: #c7d2fe !important;
1331
  font-size: 15px !important;
1332
  line-height: 1.7 !important;
@@ -1349,7 +1350,7 @@ footer,
1349
  .docs-modal-content a { color: #a78bfa; text-decoration: none; }
1350
  .docs-modal-content a:hover { text-decoration: underline; }
1351
  .docs-modal-content strong { color: #e0e7ff; }
1352
- .docs-modal-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
1353
 
1354
  /* ===== CARD STYLES ===== */
1355
  .card {
 
1261
  backdrop-filter: blur(10px) !important;
1262
  z-index: 99999 !important;
1263
  justify-content: center !important;
1264
+ align-items: flex-start !important;
1265
+ padding-top: 40px !important;
1266
  box-sizing: border-box !important;
1267
+ /* Modal positioned near top of viewport */
1268
  overflow: hidden !important;
1269
  }
1270
 
 
1279
  border-radius: 20px !important;
1280
  width: calc(100vw - 80px) !important;
1281
  max-width: 1200px !important;
1282
+ max-height: 55vh !important;
1283
  overflow: hidden !important;
1284
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9) !important;
1285
  /* Remove margin that could affect centering */
 
1327
  .docs-modal-content {
1328
  padding: 24px !important;
1329
  overflow-y: auto !important;
1330
+ max-height: calc(55vh - 80px) !important;
1331
  color: #c7d2fe !important;
1332
  font-size: 15px !important;
1333
  line-height: 1.7 !important;
 
1350
  .docs-modal-content a { color: #a78bfa; text-decoration: none; }
1351
  .docs-modal-content a:hover { text-decoration: underline; }
1352
  .docs-modal-content strong { color: #e0e7ff; }
1353
+ .docs-modal-content img { max-width: 100%; max-height: 200px; height: auto; border-radius: 8px; margin: 12px 0; object-fit: contain; }
1354
 
1355
  /* ===== CARD STYLES ===== */
1356
  .card {