Commit ·
b7fde17
1
Parent(s): 6a8b005
fix styling corruption from image thumbnails
Browse files- gradio_server.py +19 -16
gradio_server.py
CHANGED
|
@@ -2662,28 +2662,31 @@ def create_demo():
|
|
| 2662 |
#queue_df td:nth-child(1) {
|
| 2663 |
width: 100px;
|
| 2664 |
}
|
| 2665 |
-
#queue_df td:nth-child(
|
| 2666 |
-
|
| 2667 |
-
|
| 2668 |
-
|
| 2669 |
-
|
| 2670 |
-
|
| 2671 |
-
|
| 2672 |
cursor: pointer;
|
| 2673 |
text-align: center;
|
| 2674 |
-
|
|
|
|
|
|
|
|
|
|
| 2675 |
width: 60px;
|
| 2676 |
-
text-align: center;
|
| 2677 |
padding: 2px !important;
|
| 2678 |
cursor: pointer;
|
|
|
|
|
|
|
| 2679 |
}
|
| 2680 |
-
#queue_df td:nth-child(
|
| 2681 |
-
#queue_df td:nth-child(
|
| 2682 |
-
|
| 2683 |
-
|
| 2684 |
-
|
| 2685 |
-
|
| 2686 |
-
margin: auto;
|
| 2687 |
}
|
| 2688 |
#image-modal-container {
|
| 2689 |
position: fixed;
|
|
|
|
| 2662 |
#queue_df td:nth-child(1) {
|
| 2663 |
width: 100px;
|
| 2664 |
}
|
| 2665 |
+
#queue_df td:nth-child(7) img,
|
| 2666 |
+
#queue_df td:nth-child(8) img,
|
| 2667 |
+
max-width: 50px;
|
| 2668 |
+
max-height: 50px;
|
| 2669 |
+
object-fit: contain;
|
| 2670 |
+
display: block;
|
| 2671 |
+
margin: auto;
|
| 2672 |
cursor: pointer;
|
| 2673 |
text-align: center;
|
| 2674 |
+
}
|
| 2675 |
+
#queue_df td:nth-child(9),
|
| 2676 |
+
#queue_df td:nth-child(10),
|
| 2677 |
+
#queue_df td:nth-child(11) {
|
| 2678 |
width: 60px;
|
|
|
|
| 2679 |
padding: 2px !important;
|
| 2680 |
cursor: pointer;
|
| 2681 |
+
text-align: center;
|
| 2682 |
+
font-weight: bold;
|
| 2683 |
}
|
| 2684 |
+
#queue_df td:nth-child(7):hover,
|
| 2685 |
+
#queue_df td:nth-child(8):hover,
|
| 2686 |
+
#queue_df td:nth-child(9):hover,
|
| 2687 |
+
#queue_df td:nth-child(10):hover,
|
| 2688 |
+
#queue_df td:nth-child(11):hover {
|
| 2689 |
+
background-color: #e0e0e0;
|
|
|
|
| 2690 |
}
|
| 2691 |
#image-modal-container {
|
| 2692 |
position: fixed;
|