Spaces:
Sleeping
Sleeping
fix: clamp container width so phones get no horizontal scroll
Browse files
app.py
CHANGED
|
@@ -128,7 +128,7 @@ CSS = """
|
|
| 128 |
--ots-paper:#15171A; --ots-surface:#1C1F23; --ots-ink:#E9EBEC; --ots-muted:#9AA0A6;
|
| 129 |
--ots-hair:#2C3035; --ots-ham:#4CC38A; --ots-spam:#E5A04D; --ots-phishing:#F0655A;
|
| 130 |
}
|
| 131 |
-
.gradio-container { max-width: 780px !important; margin: 0 auto !important; }
|
| 132 |
.ots-header { display:flex; align-items:flex-end; justify-content:space-between;
|
| 133 |
flex-wrap:wrap; gap:12px; padding:8px 0 4px; border-bottom:1px solid var(--ots-hair); }
|
| 134 |
.ots-brand { display:flex; align-items:center; gap:14px; }
|
|
|
|
| 128 |
--ots-paper:#15171A; --ots-surface:#1C1F23; --ots-ink:#E9EBEC; --ots-muted:#9AA0A6;
|
| 129 |
--ots-hair:#2C3035; --ots-ham:#4CC38A; --ots-spam:#E5A04D; --ots-phishing:#F0655A;
|
| 130 |
}
|
| 131 |
+
.gradio-container { max-width: min(780px, 100%) !important; margin: 0 auto !important; }
|
| 132 |
.ots-header { display:flex; align-items:flex-end; justify-content:space-between;
|
| 133 |
flex-wrap:wrap; gap:12px; padding:8px 0 4px; border-bottom:1px solid var(--ots-hair); }
|
| 134 |
.ots-brand { display:flex; align-items:center; gap:14px; }
|