diff options
| author | winter | 2025-02-14 21:45:30 +0000 |
|---|---|---|
| committer | winter | 2025-02-14 21:56:18 +0000 |
| commit | 5af36fccc0904cf743e3d598813d246e3fa52634 (patch) | |
| tree | b6de9224c62b80cce95fa2385d0459e63af4b3ae | |
| parent | 241eb9eded161671d3d8e5bf4a3f7b04907037f1 (diff) | |
fix a little css mishap with labels
| -rw-r--r-- | static/form.css | 8 | ||||
| -rw-r--r-- | templates/reply_form.php | 4 | ||||
| -rw-r--r-- | templates/write_note_form.php | 4 |
3 files changed, 10 insertions, 6 deletions
diff --git a/static/form.css b/static/form.css index 4505747..e293b59 100644 --- a/static/form.css +++ b/static/form.css @@ -12,14 +12,18 @@ form:not(.nopanel) { label:has(+ input, + textarea, + select), label.standalone, .hint { - display: flex; - gap: var(--spacing-half); + display: block; font-size: var(--font-small-size); color: var(--clr-lesser-foreground); a { color: inherit; } } + .hint { + display: flex; + gap: var(--spacing-half); + } + input:not([type="checkbox"]), textarea, select { diff --git a/templates/reply_form.php b/templates/reply_form.php index 8a9abf5..59d2d53 100644 --- a/templates/reply_form.php +++ b/templates/reply_form.php @@ -32,8 +32,8 @@ $selectedScope = $note->privacy->scope->value; placeholder="<?= __('writeReply.placeholder') ?>"></textarea> <span class="hint"> <span class="inlineIcon material-symbols markdown-outline"></span> - <?= sprintf(__('writeNote.formattingHint'), - '<a href="https://commonmark.org/help/" target="_blank">' . __('writeNote.formattingHint.markdown') . '</a>') ?> + <span><?= sprintf(__('writeNote.formattingHint'), + '<a href="https://commonmark.org/help/" target="_blank">' . __('writeNote.formattingHint.markdown') . '</a>') ?></span> </span> </div> <details> diff --git a/templates/write_note_form.php b/templates/write_note_form.php index 5d86722..1062a27 100644 --- a/templates/write_note_form.php +++ b/templates/write_note_form.php @@ -23,8 +23,8 @@ placeholder="<?= __('writeNote.placeholder') ?>"></textarea> <span class="hint"> <span class="inlineIcon material-symbols markdown-outline"></span> - <?= sprintf(__('writeNote.formattingHint'), - '<a href="https://commonmark.org/help/" target="_blank">' . __('writeNote.formattingHint.markdown') . '</a>') ?> + <span><?= sprintf(__('writeNote.formattingHint'), + '<a href="https://commonmark.org/help/" target="_blank">' . __('writeNote.formattingHint.markdown') . '</a>') ?></span> </span> </div> <details> |
