profiles: add ability to directly edit profile JSON

allows for customizing small things, like changing admin status.
This commit is contained in:
Harvey Tindall
2025-11-28 15:13:46 +00:00
parent f83695190d
commit 77d2ad3b6b
14 changed files with 172 additions and 17 deletions
+4 -4
View File
@@ -235,7 +235,7 @@ sup.\~critical, .text-critical {
margin-bottom: 0.25rem;
}
.textarea {
.textarea:not(code-input *) {
resize: vertical;
}
@@ -247,7 +247,7 @@ sup.\~critical, .text-critical {
overflow-y: visible;
}
select, textarea {
select, textarea:not(code-input *) {
color: inherit;
border: 0 solid var(--color-neutral-300);
appearance: none;
@@ -255,7 +255,7 @@ select, textarea {
-moz-appearance: none;
}
html.dark textarea {
html.dark textarea:not(code-input *) {
background-color: #202020
}
@@ -313,7 +313,7 @@ p.top {
bottom: 115%;
}
pre {
pre:not(code-input *) {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */