Fix #4747: BUR layout partly broken on iOS.

Move the BUR help text from the <textarea> placeholder attribute to a
<details> tag that embeds the [[help:bur_notice]] wiki page.

Also update some CSS for the <details> tag that was meant to only apply
to the user upgrades page and didn't look good here.
This commit is contained in:
evazion
2021-03-05 19:53:42 -06:00
parent be162a8ae9
commit bb0540e1a1
8 changed files with 36 additions and 43 deletions

View File

@@ -131,6 +131,14 @@ div.prose {
.spoiler {
background: var(--dtext-spoiler-background-color);
}
details {
margin-bottom: 1em;
summary {
margin-bottom: 1em;
}
}
}
// avoid empty gaps beneath dtext blocks in table rows.

View File

@@ -42,6 +42,8 @@ $spacer: 0.25rem; /* 4px */
.space-x-4 > * + * { margin-left: 4 * $spacer; }
.space-y-4 > * + * { margin-top: 4 * $spacer; }
.divide-y-1 > * + * { border-top: 1px solid var(--divider-border-color); }
.align-top { vertical-align: top; }
.flex-auto { flex: 1 1 auto; }