From 5af36fccc0904cf743e3d598813d246e3fa52634 Mon Sep 17 00:00:00 2001
From: winter
Date: Fri, 14 Feb 2025 21:45:30 +0000
Subject: fix a little css mishap with labels
---
static/form.css | 8 ++++++--
templates/reply_form.php | 4 ++--
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') ?>">
- = sprintf(__('writeNote.formattingHint'),
- '' . __('writeNote.formattingHint.markdown') . '') ?>
+ = sprintf(__('writeNote.formattingHint'),
+ '' . __('writeNote.formattingHint.markdown') . '') ?>
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') ?>">
- = sprintf(__('writeNote.formattingHint'),
- '' . __('writeNote.formattingHint.markdown') . '') ?>
+ = sprintf(__('writeNote.formattingHint'),
+ '' . __('writeNote.formattingHint.markdown') . '') ?>
--
cgit v1.3