Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -448,16 +448,16 @@ citation_css = """
|
|
448 |
|
449 |
about_image_css = """
|
450 |
/* --- CSS for the Image container in the About Tab --- */
|
451 |
-
#
|
452 |
background-color: transparent !important;
|
453 |
padding: 0 !important;
|
454 |
border: none !important;
|
455 |
}
|
456 |
|
457 |
/* --- CSS for the Image tag itself in the About Tab --- */
|
458 |
-
#
|
459 |
display: block;
|
460 |
-
max-width:
|
461 |
width: 90%;
|
462 |
height: auto;
|
463 |
margin: 2rem auto 1rem auto; /* Adjusted margin slightly */
|
@@ -467,7 +467,7 @@ about_image_css = """
|
|
467 |
|
468 |
/* Optional: Different styles for smaller screens */
|
469 |
@media (max-width: 768px) {
|
470 |
-
#
|
471 |
max-width: 100%;
|
472 |
width: 95%;
|
473 |
margin-top: 1.5rem;
|
@@ -566,7 +566,7 @@ with demo:
|
|
566 |
gr.Image(
|
567 |
value="overview.jpg",
|
568 |
show_label=False,
|
569 |
-
elem_id="
|
570 |
)
|
571 |
|
572 |
# Citation accordion (bottom of page)
|
|
|
448 |
|
449 |
about_image_css = """
|
450 |
/* --- CSS for the Image container in the About Tab --- */
|
451 |
+
#about-image {
|
452 |
background-color: transparent !important;
|
453 |
padding: 0 !important;
|
454 |
border: none !important;
|
455 |
}
|
456 |
|
457 |
/* --- CSS for the Image tag itself in the About Tab --- */
|
458 |
+
#about-image img { /* Target the actual <img> tag */
|
459 |
display: block;
|
460 |
+
max-width: 900px;
|
461 |
width: 90%;
|
462 |
height: auto;
|
463 |
margin: 2rem auto 1rem auto; /* Adjusted margin slightly */
|
|
|
467 |
|
468 |
/* Optional: Different styles for smaller screens */
|
469 |
@media (max-width: 768px) {
|
470 |
+
#about-image img {
|
471 |
max-width: 100%;
|
472 |
width: 95%;
|
473 |
margin-top: 1.5rem;
|
|
|
566 |
gr.Image(
|
567 |
value="overview.jpg",
|
568 |
show_label=False,
|
569 |
+
elem_id="about-image",
|
570 |
)
|
571 |
|
572 |
# Citation accordion (bottom of page)
|