Forum photos, a one-row bottom menu, and the site's own question windows
Photos in posts and replies: a "Fotó" button in the new thread form and the reply boxes. The browser makes the picture small before uploading it (1600 pixels at most, WebP, JPEG where WebP cannot be made); the forum checks it is a still picture, strips its metadata and makes a square preview (forum-photos/ in the storage). Five a member a day, five a post; one taken off before sending is deleted and does not count. Under the post a row of square previews; a click opens a viewer paged with arrows, swipes and keys. Seen by whoever may read the thread (long public cache only for public topics). Unsent photos go after a day, those of removed posts after a year; removed with the account and listed in the data export. Terms and privacy notice updated. The forum's bottom menu keeps its five items in one row (the fifth wrapped to a second row). On iPhones, when the keyboard goes away without the usual tap (a photo picker opening over it), the page is put back in place instead of the menu floating mid-screen over an empty strip. The browser's own confirm() and prompt() windows (23 places: deleting, revoking, blocking, muting, moderators' reasons, admin actions) are replaced by a question window in the site's look, following the forum's light or dark theme, with named buttons and a text box for reasons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -538,6 +538,20 @@ dialog.modal::backdrop { background: rgba(5, 8, 16, 0.72); backdrop-filter: blur
|
||||
.balance-grid dt { font-size: 12px; color: var(--muted); }
|
||||
.balance-grid dd { margin: 0; font-size: 18px; color: var(--ink); }
|
||||
@media (max-width: 480px) { .modal-inner { padding: 18px 16px 20px; } }
|
||||
/* A question in a small window (Dialogs.tsx), instead of the browser's own confirm() and prompt(). */
|
||||
dialog.modal-ask { width: min(440px, calc(100vw - 32px)); }
|
||||
.modal-ask .modal-inner { gap: 14px; }
|
||||
.modal-ask-title { font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
|
||||
.modal-ask-text { display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
|
||||
.modal-ask-text p { margin: 0; }
|
||||
.modal-ask-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
|
||||
.modal-ask-field textarea { min-height: 88px; resize: vertical; font-weight: 400; }
|
||||
.modal-ask-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
|
||||
@media (max-width: 480px) { .modal-ask-actions .btn { flex: 1; } }
|
||||
.btn-danger-solid { background: #c0392b; border-color: #c0392b; color: #fff; font-weight: 600; }
|
||||
.btn-danger-solid:hover { background: #a93226; border-color: #a93226; color: #fff; }
|
||||
/* While typing on a phone: in the part of the screen above the keyboard (KeyboardSafe). */
|
||||
.kb-open dialog.modal-ask { margin: calc(var(--vv-top, 0px) + 12px) auto auto; max-height: calc(var(--vv-height, 100dvh) - 24px); }
|
||||
.prompt-kind { display: flex; flex-direction: column; gap: 20px; }
|
||||
.prompt-kind-head { display: flex; gap: 16px 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
|
||||
.prompt-kind-head > p { flex: 1 1 360px; margin: 0; }
|
||||
|
||||
Reference in New Issue
Block a user