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() {
super(q("#homeserver"));
this.tippy = tippy.default(q("#homeserver-question"), {
this.tippy = tippy.default(q(".homeserver-question"), {
content: q("#homeserver-popup-template").innerHTML,
allowHTML: true,
interactive: true,

View file

@ -24,7 +24,7 @@ html
.form-input-container
.homeserver-label
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
#feedback

View file

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