appview/pages: apply monospace font for all textarea #714

closed
opened by boltless.me targeting master from push-rvkkksrxnpsv

monospace font for textarea in dev app is so common that we can just apply it as an opt-out style for all textareas

Signed-off-by: Seongmin Lee git@boltless.me

Changed files
+2 -2
appview
pages
templates
strings
fragments
+1 -1
appview/pages/templates/strings/fragments/form.html
···
name="content"
id="content-textarea"
wrap="off"
-
class="w-full dark:bg-gray-700 dark:text-white dark:border-gray-600 dark:placeholder-gray-400 font-mono"
rows="20"
spellcheck="false"
placeholder="Paste your string here!"
···
name="content"
id="content-textarea"
wrap="off"
+
class="w-full dark:bg-gray-700 dark:text-white dark:border-gray-600 dark:placeholder-gray-400"
rows="20"
spellcheck="false"
placeholder="Paste your string here!"
+1 -1
input.css
···
@apply border border-gray-400 block rounded bg-gray-50 focus:ring-black p-3 dark:bg-gray-800 dark:border-gray-600 dark:text-white dark:focus:ring-gray-400;
}
textarea {
-
@apply border border-gray-400 block rounded bg-gray-50 focus:ring-black p-3 dark:bg-gray-800 dark:border-gray-600 dark:text-white dark:focus:ring-gray-400;
}
details summary::-webkit-details-marker {
display: none;
···
@apply border border-gray-400 block rounded bg-gray-50 focus:ring-black p-3 dark:bg-gray-800 dark:border-gray-600 dark:text-white dark:focus:ring-gray-400;
}
textarea {
+
@apply border border-gray-400 block rounded bg-gray-50 focus:ring-black p-3 dark:bg-gray-800 dark:border-gray-600 dark:text-white dark:focus:ring-gray-400 font-mono;
}
details summary::-webkit-details-marker {
display: none;