From fc9cc2a150d50f142d68056f7ab552585b855ec3 Mon Sep 17 00:00:00 2001 From: luxick Date: Wed, 10 Jun 2026 18:39:37 +0200 Subject: [PATCH] minor UI fixes --- data/polls.json | 19 +++++++++++++++++++ static/style.css | 7 +++++++ 2 files changed, 26 insertions(+) diff --git a/data/polls.json b/data/polls.json index e313899..e647696 100644 --- a/data/polls.json +++ b/data/polls.json @@ -175,5 +175,24 @@ "closed": false, "createdAt": "2026-06-10T16:01:51.4082662Z", "adminToken": "wBmkZL25zTkrzYgCQBjtGxWY" + }, + { + "id": "y4rE5zp9hW", + "title": "Ad", + "description": "awdwadw\n\nawdawdwa\nwadwda\n\n\nwadw", + "options": [ + { + "id": "mkaa95Gr", + "date": "2026-06-18" + }, + { + "id": "pQbnHN7b", + "date": "2026-06-20" + } + ], + "votes": [], + "closed": false, + "createdAt": "2026-06-10T16:39:18.0584144Z", + "adminToken": "hKD8vupZhQN6vY2BUbXYRwfj" } ] \ No newline at end of file diff --git a/static/style.css b/static/style.css index d4ddb93..40e492b 100644 --- a/static/style.css +++ b/static/style.css @@ -118,6 +118,8 @@ h1 { .sub { color: var(--text-muted); margin: 0 0 var(--space-5); max-width: 60ch; } +#poll-desc { white-space: pre-line; } + .hint { font-weight: normal; color: var(--text-muted); font-size: var(--font-sm); } .note { font-size: var(--font-sm); color: var(--text-muted); } @@ -465,6 +467,11 @@ textarea { resize: vertical; min-height: 4rem; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-hover); } /* === Responsive === */ +@media (max-width: 540px) { + header.site { flex-wrap: wrap; } + .tagline { flex-basis: 100%; } +} + @media (max-width: 480px) { .result-row { flex-wrap: wrap; } .result-row .when { width: auto; }