Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,12 +62,25 @@ css = """
|
|
| 62 |
/* ββ reset & base ββ */
|
| 63 |
*, *::before, *::after { box-sizing: border-box; }
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
.gradio-container {
|
|
|
|
|
|
|
| 66 |
max-width: 960px !important;
|
| 67 |
margin: 0 auto !important;
|
| 68 |
padding: 0 12px !important;
|
| 69 |
}
|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
footer { display: none !important; }
|
| 72 |
|
| 73 |
/* ββ title block ββ */
|
|
@@ -103,7 +116,7 @@ footer { display: none !important; }
|
|
| 103 |
min-width: 0;
|
| 104 |
}
|
| 105 |
|
| 106 |
-
/* ββ stats row
|
| 107 |
.stats-row {
|
| 108 |
display: flex;
|
| 109 |
flex-wrap: wrap;
|
|
@@ -133,7 +146,7 @@ button.primary {
|
|
| 133 |
padding: 10px 16px !important;
|
| 134 |
}
|
| 135 |
|
| 136 |
-
/* ββ
|
| 137 |
label span {
|
| 138 |
white-space: normal !important;
|
| 139 |
word-break: break-word !important;
|
|
@@ -172,13 +185,13 @@ label span {
|
|
| 172 |
font-size: clamp(14px, 3vw, 18px) !important;
|
| 173 |
}
|
| 174 |
|
| 175 |
-
/* ββ image components
|
| 176 |
.gr-image img {
|
| 177 |
max-width: 100% !important;
|
| 178 |
height: auto !important;
|
| 179 |
}
|
| 180 |
|
| 181 |
-
/* small screens
|
| 182 |
@media (max-width: 480px) {
|
| 183 |
.gradio-container {
|
| 184 |
padding: 0 8px !important;
|
|
|
|
| 62 |
/* ββ reset & base ββ */
|
| 63 |
*, *::before, *::after { box-sizing: border-box; }
|
| 64 |
|
| 65 |
+
html, body {
|
| 66 |
+
width: 100% !important;
|
| 67 |
+
overflow-x: hidden !important;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
.gradio-container {
|
| 71 |
+
min-width: unset !important;
|
| 72 |
+
width: 100% !important;
|
| 73 |
max-width: 960px !important;
|
| 74 |
margin: 0 auto !important;
|
| 75 |
padding: 0 12px !important;
|
| 76 |
}
|
| 77 |
|
| 78 |
+
/* paksa semua elemen tidak overflow */
|
| 79 |
+
.block, .form, .panel {
|
| 80 |
+
min-width: unset !important;
|
| 81 |
+
width: 100% !important;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
footer { display: none !important; }
|
| 85 |
|
| 86 |
/* ββ title block ββ */
|
|
|
|
| 116 |
min-width: 0;
|
| 117 |
}
|
| 118 |
|
| 119 |
+
/* ββ stats row ββ */
|
| 120 |
.stats-row {
|
| 121 |
display: flex;
|
| 122 |
flex-wrap: wrap;
|
|
|
|
| 146 |
padding: 10px 16px !important;
|
| 147 |
}
|
| 148 |
|
| 149 |
+
/* ββ labels: prevent overflow ββ */
|
| 150 |
label span {
|
| 151 |
white-space: normal !important;
|
| 152 |
word-break: break-word !important;
|
|
|
|
| 185 |
font-size: clamp(14px, 3vw, 18px) !important;
|
| 186 |
}
|
| 187 |
|
| 188 |
+
/* ββ image components ββ */
|
| 189 |
.gr-image img {
|
| 190 |
max-width: 100% !important;
|
| 191 |
height: auto !important;
|
| 192 |
}
|
| 193 |
|
| 194 |
+
/* ββ small screens ββ */
|
| 195 |
@media (max-width: 480px) {
|
| 196 |
.gradio-container {
|
| 197 |
padding: 0 8px !important;
|