0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 16:21:57 -05:00

Merge pull request #2655 from penpot/eva-fix-login-icon

🐛 Fix home icon in login page
This commit is contained in:
Andrey Antukh 2022-12-13 08:47:45 +01:00 committed by GitHub
commit c53420c1f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -43,6 +43,12 @@
max-width: 11vw;
height: 80px;
}
.hidden-name {
visibility: hidden;
width: 0;
height: 0;
float: left;
}
}
}

View file

@ -39,11 +39,13 @@
params (:query-params route)]
(mf/use-effect
#(dom/set-html-title (tr "title.default")))
#(dom/set-html-title (tr "title.default")))
[:main.auth
[:section.auth-sidebar
[:span.logo {:aria-hidden "true"} i/logo]
[:a.logo {:href "#/"}
[:span {:aria-hidden true} i/logo]
[:span.hidden-name "Home"]]
[:span.tagline (tr "auth.sidebar-tagline")]]
[:section.auth-content