Spaces:
Sleeping
Sleeping
Update ui/components.py
Browse files- ui/components.py +9 -9
ui/components.py
CHANGED
@@ -15,20 +15,20 @@ def get_custom_css():
|
|
15 |
}
|
16 |
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
}
|
22 |
|
23 |
-
.gr-dropdown .wrap {
|
24 |
-
|
25 |
-
|
26 |
}
|
27 |
|
28 |
-
/* Optional:
|
29 |
.gr-dropdown {
|
30 |
-
|
31 |
-
|
32 |
}
|
33 |
|
34 |
|
|
|
15 |
}
|
16 |
|
17 |
|
18 |
+
/* Prevent dropdown menus from being cut off */
|
19 |
+
.gradio-container, body {
|
20 |
+
overflow: visible !important;
|
21 |
}
|
22 |
|
23 |
+
.gr-dropdown .wrap, .gr-dropdown .container {
|
24 |
+
position: relative !important;
|
25 |
+
z-index: 9999 !important;
|
26 |
}
|
27 |
|
28 |
+
/* Optional: Better dropdown style */
|
29 |
.gr-dropdown {
|
30 |
+
min-height: 42px;
|
31 |
+
font-size: 1rem;
|
32 |
}
|
33 |
|
34 |
|