#137 Fix: Checkbox-Ausrichtung (:first-of-type statt :first-child) #139
No reviewers
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#139
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix-137-checkbox"
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?
Nachtrag zu #137: der Absatz-Reset griff nicht, weil im Lesemodus-Markup das das erste Kind ist und das
nie :first-child. Fix auf :first-of-type/:last-of-type. Auf Test/Int sichtbarer Bug (kein Cache). Harness-verifiziert.
🤖 Generated with Claude Code
Im Lesemodus-Markup ist das <input> das erste Kind des <li>, also ist das <p> nie :first-child — die Regel `li > p:first-child { margin-top: 0 }` griff daher NICHT, das <p> behielt seine ~1em-Obermarge und der Text saß deutlich tiefer als die Checkbox (auf Test/Int sichtbar, kein Cache-Bug). Fix: :first-of-type/:last-of-type treffen den ersten/letzten <p> unabhängig vom vorangehenden <input>. Beide Renderpfade abgedeckt. Verifiziert per Harness mit exaktem <li><input><p>-DOM (alt vs. neu). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0155v2aT8AG1kZDQEZiCLBWCZwei im Bearbeiten-Modus gemeldete Layout-Bugs: 1. Die sticky Editor-Toolbar klebte an der Padding-Kante des Scroll- Containers `.main` (padding-top: --space-6), also mit sichtbarer Lücke unter der Navigation, durch die die scrollende Seite schien. Fix: `top: calc(-1 * var(--space-6))` → die Toolbar pinnt bündig an die Nav. 2. Das „…"-Overflow-Menü der Navigation lag HINTER der Toolbar: `.topbar` steht im DOM vor `.app-body`, hatte aber keinen Stacking-Kontext, also malte die z-index-20-Toolbar in `.main` darüber und verdeckte Menüeinträge. Fix: `.topbar { position: relative; z-index: 30 }` (> 20; Modals mit 1100+ gewinnen weiterhin). Beide am echten Test-Editor mit langer, scrollbarer Seite verifiziert (gap_px=0 nach dem Scrollen; Menü vollständig über der Toolbar). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0155v2aT8AG1kZDQEZiCLBWC