Change homserver-question into a class

This commit is contained in:
Bad 2020-11-01 17:35:10 +01:00
parent 157bb9fc47
commit d8343f5976
3 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@ class Homeserver extends ElemJS {
constructor() { constructor() {
super(q("#homeserver")); super(q("#homeserver"));
this.tippy = tippy.default(q("#homeserver-question"), { this.tippy = tippy.default(q(".homeserver-question"), {
content: q("#homeserver-popup-template").innerHTML, content: q("#homeserver-popup-template").innerHTML,
allowHTML: true, allowHTML: true,
interactive: true, interactive: true,

View file

@ -24,7 +24,7 @@ html
.form-input-container .form-input-container
.homeserver-label .homeserver-label
label(for="homeserver") Homeserver label(for="homeserver") Homeserver
span#homeserver-question (What's this?) span.homeserver-question (What's this?)
input(type="text" name="homeserver" placeholder="matrix.org")#homeserver input(type="text" name="homeserver" placeholder="matrix.org")#homeserver
#feedback #feedback

View file

@ -44,7 +44,7 @@
.form-error .form-error
color: red color: red
#homeserver-question .homeserver-question
font-size: 0.6em font-size: 0.6em
padding-left: 0.2em padding-left: 0.2em