Spaces:
Sleeping
Sleeping
Update theme.py
Browse files
theme.py
CHANGED
|
@@ -26,20 +26,10 @@ body {
|
|
| 26 |
border-radius: 24px;
|
| 27 |
border: 1px solid rgba(148, 163, 184, 0.30);
|
| 28 |
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
|
| 29 |
-
padding:
|
| 30 |
overflow: hidden;
|
| 31 |
}
|
| 32 |
|
| 33 |
-
/* ── Inner wrapper that actually controls the card breathing room ── */
|
| 34 |
-
.card-inner {
|
| 35 |
-
padding: 20px 22px !important;
|
| 36 |
-
box-sizing: border-box;
|
| 37 |
-
}
|
| 38 |
-
|
| 39 |
-
/* Remove excess margin from first/last child inside card-inner */
|
| 40 |
-
.card-inner > *:first-child { margin-top: 0 !important; }
|
| 41 |
-
.card-inner > *:last-child { margin-bottom: 0 !important; }
|
| 42 |
-
|
| 43 |
/* ── Gradio component wrappers inside any glass-card ── */
|
| 44 |
.glass-card .gradio-markdown,
|
| 45 |
.glass-card .gradio-html,
|
|
@@ -164,8 +154,7 @@ def header():
|
|
| 164 |
|
| 165 |
|
| 166 |
def card_start():
|
| 167 |
-
return gr.HTML("
|
| 168 |
-
|
| 169 |
|
| 170 |
def card_end():
|
| 171 |
-
return gr.HTML("
|
|
|
|
| 26 |
border-radius: 24px;
|
| 27 |
border: 1px solid rgba(148, 163, 184, 0.30);
|
| 28 |
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
|
| 29 |
+
padding: 20px 22px !important; /* ← ADD THIS */
|
| 30 |
overflow: hidden;
|
| 31 |
}
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
/* ── Gradio component wrappers inside any glass-card ── */
|
| 34 |
.glass-card .gradio-markdown,
|
| 35 |
.glass-card .gradio-html,
|
|
|
|
| 154 |
|
| 155 |
|
| 156 |
def card_start():
|
| 157 |
+
return gr.HTML("")
|
|
|
|
| 158 |
|
| 159 |
def card_end():
|
| 160 |
+
return gr.HTML("")
|