mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-20 23:48:10 -07:00
global: private xpub support part 2
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { createElement } from "../dom.js";
|
||||
|
||||
/**
|
||||
* @param {string} label
|
||||
* @param {HTMLInputElement | HTMLSelectElement} control
|
||||
*/
|
||||
export function createField(label, control) {
|
||||
const element = createElement("label", "wallets__field");
|
||||
const text = createElement("span", "wallets__label");
|
||||
|
||||
text.append(label);
|
||||
element.append(text, control);
|
||||
|
||||
return element;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
main.wallets {
|
||||
.wallets__field {
|
||||
display: grid;
|
||||
gap: 0.375rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.wallets__label {
|
||||
color: var(--gray);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: var(--line-height-xs);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user