Chat menu restyle (#1844)

* Chat menu restyle

* Update username.js

updated span to have id #username-display. Needed for tests

* removed chat menu failing tests

* hide form on username change (while same username)

* fixed onusernamechange handler

* resized username label, removed some margins

* removed commented out code
This commit is contained in:
t1enne
2022-04-21 07:21:02 +02:00
committed by GitHub
parent abcfdfa8a0
commit cbe469ef87
12 changed files with 316 additions and 112 deletions

View File

@@ -0,0 +1,14 @@
import { h } from '/js/web_modules/preact.js';
import htm from '/js/web_modules/htm.js';
const html = htm.bind(h);
export const CheckIcon = ({ className = 'w-6 h-6' }) => {
return html`<svg
class="${className}"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
</svg>`
}