Compare commits

..

No commits in common. "48c6ae7efbea290686787eb9377259b68569a99c" and "4cb6ddc4167eb43404a9b046b40aee2617957486" have entirely different histories.

4 changed files with 10 additions and 10 deletions

View file

@ -54,12 +54,12 @@ 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,
interactiveBorder: 10, interactiveBorder: 10,
trigger: "focus mouseenter", trigger: "mouseenter",
theme: "carbon", theme: "carbon",
arrow: tippy.roundArrow, arrow: tippy.roundArrow,
}) })

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(tabindex=0) (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,8 +44,9 @@
.form-error .form-error
color: red color: red
.homeserver-question #homeserver-question
font-size: 0.8em font-size: 0.6em
padding-left: 0.2em
.homeserver-label .homeserver-label
display: flex display: flex

View file

@ -5,6 +5,5 @@
.tippy-box[data-theme~="carbon"] .tippy-box[data-theme~="carbon"]
background-color: c.$milder background-color: c.$milder
border: 2px solid c.$divider border: 2px solid c.$divider
.tippy-svg-arrow .tippy-svg-arrow
fill: c.$milder fill: c.$milder