diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-16 16:38:07 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-16 16:38:07 +0100 |
| commit | a9d86650f40a82a64d1fd8e0525c26422d314d3a (patch) | |
| tree | 6afbd4a520f557b377096e6bb8a0838c0b725f7e /frontend/app/common | |
| parent | 6e18c6e4ef6344f92fed99dad9c83484487c32d7 (diff) | |
make uploads like animism. start audio stuff
Diffstat (limited to 'frontend/app/common')
| -rw-r--r-- | frontend/app/common/app.css | 10 | ||||
| -rw-r--r-- | frontend/app/common/form.component.js | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/frontend/app/common/app.css b/frontend/app/common/app.css index d9f9946..2e9dc4e 100644 --- a/frontend/app/common/app.css +++ b/frontend/app/common/app.css @@ -147,6 +147,16 @@ header a:active { header a.navbar-brand { font-size: .8rem; } +header .arrow { + padding: 0.5rem 0.5rem 0.5rem 0.5rem; + margin-left: -0.5rem; + margin-right: 0.25rem; + transition: background 0.2s; + border-radius: 4px; +} +header .arrow:hover { + background: rgba(0,0,255,0.5); +} header .username { cursor: pointer; diff --git a/frontend/app/common/form.component.js b/frontend/app/common/form.component.js index cf3e466..927b89d 100644 --- a/frontend/app/common/form.component.js +++ b/frontend/app/common/form.component.js @@ -76,7 +76,7 @@ export const Checkbox = props => ( type="checkbox" name={props.name} value={1} - checked={props.checked} + checked={!!props.checked} onChange={(e) => props.onChange(props.name, e.target.checked)} /> <span>{props.label}</span> |
