WIP: Some visual improvements for login #20
3 changed files with 3 additions and 3 deletions
Change homserver-question into a class
commit
d8343f5976
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
.form-error
|
||||
color: red
|
||||
|
||||
#homeserver-question
|
||||
.homeserver-question
|
||||
font-size: 0.6em
|
||||
padding-left: 0.2em
|
||||
|
|
||||
|
||||
|
cadence
commented
12px please, it doesn't need to be tiny. 12px please, it doesn't need to be _tiny._
bad
commented
Won't using px cause scaling issues on smaller screens? Won't using px cause scaling issues on smaller screens?
cadence
commented
No, px will not cause issues. No, px will not cause issues.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue
Please create a class
.homeserver-questionand target that instead. Using IDs in CSS sounds fine but quickly turns into hell. I know this from experience.