0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-19 11:11:21 -05:00

Merge pull request #4600 from penpot/eva-bugfixing

Eva bugfixing
This commit is contained in:
Aitor Moreno 2024-05-22 11:38:03 +02:00 committed by GitHub
commit 8a74f24977
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 15 deletions

View file

@ -58,7 +58,6 @@
width: 100%;
}
.demo-account,
.go-back {
display: flex;
flex-direction: column;
@ -67,7 +66,6 @@
border-block-start: none;
}
.demo-account-link,
.go-back-link {
@extend .button-secondary;
@include uppercaseTitleTipography;
@ -81,7 +79,8 @@
.register,
.account,
.recovery-request {
.recovery-request,
.demo-account {
display: flex;
justify-content: center;
gap: $s-8;
@ -90,7 +89,8 @@
.register-text,
.account-text,
.recovery-text {
.recovery-text,
.demo-account-text {
@include smallTitleTipography;
text-align: right;
color: var(--title-foreground-color);
@ -99,7 +99,8 @@
.register-link,
.account-link,
.recovery-link,
.forgot-pass-link {
.forgot-pass-link,
.demo-account-link {
@include smallTitleTipography;
text-align: left;
background-color: transparent;

View file

@ -158,7 +158,7 @@
[:*
(when-let [message @error]
[:& context-notification
{:type :warning
{:type :error
:content message
:data-test "login-banner"
:role "alert"}])
@ -300,11 +300,13 @@
[:& lk/link {:action go-register
:class (stl/css :register-link)
:data-test "register-submit"}
(tr "auth.register-submit")]])]
(tr "auth.register-submit")]])
(when (contains? cf/flags :demo-users)
[:div {:class (stl/css :link-entry :demo-account)}
[:span (tr "auth.create-demo-profile") " "]
[:& lk/link {:action create-demo-profile
:data-test "demo-account-link"}
(tr "auth.create-demo-account")]])]))
(when (contains? cf/flags :demo-users)
[:div {:class (stl/css :demo-account)}
[:span {:class (stl/css :demo-account-text)}
(tr "auth.create-demo-profile") " "]
[:& lk/link {:action create-demo-profile
:class (stl/css :demo-account-link)
:data-test "demo-account-link"}
(tr "auth.create-demo-account")]])]]))

View file

@ -12,5 +12,6 @@
margin-top: $s-8;
padding: $s-12;
background-color: var(--menu-background-color);
color: var(--input-foreground-color-active);
overflow: auto;
}

View file

@ -85,8 +85,6 @@
color: var(--title-foreground-color-hover);
cursor: pointer;
height: $s-16;
display: inline-flex;
align-items: center;
}
.info-wrapper {