Fix CF7 form label layout on contact page

Changed label to flex column layout and hide br tags that CF7
inserts between label text and input fields.

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Hanson.xyz Dev
2025-12-01 01:09:43 -06:00
parent d676cad93f
commit e68426bb3d
2 changed files with 9 additions and 3 deletions
File diff suppressed because one or more lines are too long
@@ -86,11 +86,17 @@
} }
label { label {
display: block; display: flex;
flex-direction: column;
gap: 0.5rem;
font-size: 0.875rem; font-size: 0.875rem;
font-weight: 600; font-weight: 600;
color: var(--color-text); color: var(--color-text);
margin-bottom: 0.5rem; margin-bottom: 0;
br {
display: none;
}
} }
input[type="text"], input[type="text"],