mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
🐛 Fix login page errors
This commit is contained in:
parent
706f91db39
commit
4178be3acf
2 changed files with 3 additions and 11 deletions
|
@ -73,6 +73,9 @@
|
|||
text-transform: uppercase;
|
||||
font-size: $fs-11;
|
||||
}
|
||||
&.register a {
|
||||
@extend .button-primary;
|
||||
}
|
||||
}
|
||||
|
||||
.forgot-password {
|
||||
|
|
|
@ -275,10 +275,6 @@
|
|||
(mf/use-fn
|
||||
#(st/emit! (rt/nav :auth-register {} params)))
|
||||
|
||||
on-pass-recovery
|
||||
(mf/use-fn
|
||||
#(st/emit! (rt/nav :auth-recovery-request)))
|
||||
|
||||
on-create-demo-profile
|
||||
(mf/use-fn
|
||||
#(st/emit! (du/create-demo-profile)))]
|
||||
|
@ -292,13 +288,6 @@
|
|||
[:& login-methods {:params params}]
|
||||
|
||||
[:div {:class (stl/css :links)}
|
||||
(when (or (contains? cf/flags :login)
|
||||
(contains? cf/flags :login-with-password))
|
||||
[:div {:class (stl/css :link-entry :register)}
|
||||
[:& lk/link {:action on-pass-recovery
|
||||
:data-test "forgot-password"}
|
||||
(tr "auth.forgot-password")]])
|
||||
|
||||
(when (contains? cf/flags :registration)
|
||||
[:div {:class (stl/css :link-entry :register)}
|
||||
[:span (tr "auth.register") " "]
|
||||
|
|
Loading…
Add table
Reference in a new issue