diff options
| author | lonkaars <l.leblansch@gmail.com> | 2021-01-15 10:03:33 +0100 |
|---|---|---|
| committer | lonkaars <l.leblansch@gmail.com> | 2021-01-15 10:03:33 +0100 |
| commit | 7281197838986467880d88d265de5c003efc8b6b (patch) | |
| tree | 70e95709ab2c8c5a078e71f98930e3da7d866353 /src/components | |
| parent | 9c355c7de88bcbfb62558d3665d9a3a2c8a97b6f (diff) | |
register werks
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/navbar.tsx | 2 | ||||
| -rw-r--r-- | src/components/ui.tsx | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx index e5d2915..7725ca8 100644 --- a/src/components/navbar.tsx +++ b/src/components/navbar.tsx @@ -49,7 +49,7 @@ export function NavBar() { <div style={{ width: 24, height: 24, - background: "#888888", + /* background: "#888888", */ borderRadius: 12 }}> <PersonIcon/> diff --git a/src/components/ui.tsx b/src/components/ui.tsx index 29f77ff..c2ce35e 100644 --- a/src/components/ui.tsx +++ b/src/components/ui.tsx @@ -57,9 +57,10 @@ export function Button(props: { export function Input(props: { label?: string, style?: CSSProperties, - type?: string + type?: string, + id?: string }) { - return <input type={props.type || "text"} placeholder={props.label} spellCheck={false} style={{ + return <input id={props.id} type={props.type || "text"} placeholder={props.label} spellCheck={false} style={{ padding: 12, border: 0, width: "calc(100% - 24px)", |