CSS: 'Max. Aufrufe' field styled inconsistently with the other compose fields #23
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
m: the „Max. Aufrufe“ field looks different from the other compose fields — align its styling so it matches.
Likely cause: when max-views became a card-level option (#18) the field was moved/restructured and didn't pick up the same input/label styling (width, padding, border, label spacing) as the neighbouring fields (e.g. „Gültig bis“, recipient/sender, message). Possibly also its wrapper grid/alignment differs.
Fix
Make the „Max. Aufrufe“ field visually consistent with the other compose fields — same input styling, label treatment, width/alignment, and spacing. Pair it cleanly with „Gültig bis“ if they sit together (consistent row, equal heights — same spirit as #13's gültig-bis/max-aufrufe alignment fix). CSS/markup only (
web/static/style.css+ maybeweb/templates/compose.html).Constraints
Mobile-first; no regression to #13/#20 spacing fixes or #18 behaviour. German + Umlaute.
DoD
#23 erledigt — „Max. Aufrufe“ jetzt einheitlich gestylt
Ursache: Das Feld „Max. Aufrufe“ ist ein
input[type="number"](seit #18 als kartenweite Option). Die Eingabefeld-Styles instyle.cssdeckten aber nurtext/password/textarea(Zeile 180) sowie separatdate(Zeile 421) ab —numberfiel komplett auf Browser-Defaults zurück (andere Border, Padding, Breite, Focus-Ring). Daher sah es als einziges Compose-Feld anders aus.Fix: Alle einzeiligen Text-Controls in eine Basis-Regel zusammengeführt —
text,password,number,date,textareateilen sich jetzt dieselbe Box (Breite 100 %, Border, Padding0.75rem 0.85rem, gleicher Focus-Ring). Den doppelteninput[type="date"]-Block samt veraltetem „side by side“-Kommentar entfernt.Ergebnis: „Max. Aufrufe“ passt jetzt visuell exakt zu „Gültig bis“ und den übrigen Feldern — Mobile + Desktop. Keine Regression zu #13/#20-Spacing oder #18-Verhalten (reine CSS-Konsolidierung).
.slug-field-Override bleibt unberührt (höhere Spezifität).Nur CSS,
go build ./...grün.Commit:
8bd69801ca✅ Live on sendmy.cards (merge
7ffdf2d)Shipped in the compose styling block (#23 field consistency, #24 Farbwelt→Farbschema + smaller equal tiles, #25 darker field text). CSS/copy only, build green. Verified: Farbschema label live, Farbwelt gone. Please eyeball spacing/contrast. Not closing — m closes.