Load all hints and add inline button
This commit is contained in:
parent
e5e6a0d347
commit
7ecd9ec165
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@fwdekker/template",
|
"name": "@fwdekker/template",
|
||||||
"version": "3.5.5",
|
"version": "3.5.6",
|
||||||
"description": "The base template for pages on fwdekker.com.",
|
"description": "The base template for pages on fwdekker.com.",
|
||||||
"author": "Florine W. Dekker",
|
"author": "Florine W. Dekker",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -78,6 +78,14 @@ noscript.fwd-js-notice p {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Forms */
|
||||||
|
.inline-button {
|
||||||
|
display: inline-block;
|
||||||
|
width: unset;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
header.fwd-header a[href="."] {
|
header.fwd-header a[href="."] {
|
||||||
color: unset;
|
color: unset;
|
||||||
|
|
|
@ -200,7 +200,7 @@ doAfterLoad(() => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$a("input + small[data-hint]").forEach((hint: Element) => {
|
$a("small[data-hint]").forEach((hint: Element) => {
|
||||||
if (!(hint instanceof HTMLElement)) return;
|
if (!(hint instanceof HTMLElement)) return;
|
||||||
|
|
||||||
hint.innerHTML = hint.dataset["hint"] ?? "";
|
hint.innerHTML = hint.dataset["hint"] ?? "";
|
||||||
|
|
Loading…
Reference in New Issue