diff --git a/frontend/resources/styles/main/partials/dashboard-grid.scss b/frontend/resources/styles/main/partials/dashboard-grid.scss index d20da0d9c..97bd06fc6 100644 --- a/frontend/resources/styles/main/partials/dashboard-grid.scss +++ b/frontend/resources/styles/main/partials/dashboard-grid.scss @@ -82,6 +82,7 @@ .grid-item { align-items: center; + border: 1px solid lighten($color-gray-20, 13%); border-radius: $br-small; cursor: pointer; display: flex; @@ -451,6 +452,7 @@ border: 1px dashed $color-gray-20; display: flex; flex-direction: column; + height: fit-content; margin: $size-4; padding: 3rem; width: 100%; diff --git a/frontend/resources/styles/main/partials/main-bar.scss b/frontend/resources/styles/main/partials/main-bar.scss index 0be476384..759ad2dcf 100644 --- a/frontend/resources/styles/main/partials/main-bar.scss +++ b/frontend/resources/styles/main/partials/main-bar.scss @@ -86,6 +86,20 @@ font-weight: normal; } +.main-bar-icon { + cursor: pointer; + margin-left: $small; + + svg { + fill: $color-gray-40; + width: 10px; + + &:hover { + fill: $color-primary-dark; + } + } +} + .user-zone { align-items: center; border-right: 1px solid $color-gray-10; diff --git a/frontend/src/uxbox/main/ui/dashboard/project.cljs b/frontend/src/uxbox/main/ui/dashboard/project.cljs index 6a3c96b79..535553657 100644 --- a/frontend/src/uxbox/main/ui/dashboard/project.cljs +++ b/frontend/src/uxbox/main/ui/dashboard/project.cljs @@ -54,7 +54,8 @@ (if (:is-default project) [:h1.dashboard-title (t locale "dashboard.header.draft")] [:* - [:div.main-bar-icon {:on-click on-menu-click} i/actions] + [:h1.dashboard-title (t locale "dashboard.header.project" (:name project))] + [:div.main-bar-icon {:on-click on-menu-click} i/arrow-down] [:& context-menu {:on-close on-menu-close :show (:menu-open @local) :options [[(t locale "dashboard.grid.edit") on-edit] @@ -64,8 +65,7 @@ :auto-focus true :on-key-down on-key-down :on-blur on-blur - :default-value (:name project)}] - [:h1.dashboard-title (t locale "dashboard.header.project" (:name project))])]) + :default-value (:name project)}])]) [:a.btn-dashboard {:on-click #(do (dom/prevent-default %) (st/emit! (dsh/create-file project-id)))} @@ -83,5 +83,4 @@ [:* [:& project-header {:team-id team-id :project-id project-id}] [:section.projects-page - [:& grid { :id project-id :files files :hide-new? true}]]])) - + [:& grid { :id project-id :files files :hide-new? true}]]])) \ No newline at end of file