🐛 Fix some visual issues in dashboard

This commit is contained in:
Andrés Moya 2021-03-16 11:24:09 +01:00 committed by Andrey Antukh
parent fc29e8fb6b
commit 4d3142e826
4 changed files with 5 additions and 16 deletions

View file

@ -56,7 +56,7 @@
[:header.dashboard-header
(if (:is-default project)
[:div.dashboard-title
[:h1 (t locale "dashboard.draft-title")]]
[:h1 (t locale "labels.drafts")]]
(if (:edition @local)
[:& inline-edition {:content (:name project)

View file

@ -129,7 +129,9 @@
:on-end on-edit}]
[:h2 {:on-click on-nav
:on-context-menu on-menu-click}
(:name project)])
(if (:is-default project)
(tr "labels.drafts")
(:name project))])
[:& project-menu {:project project
:show? (:menu-open @local)
:left (:x (:menu-pos @local))