From 2765883152547c63800e70f248f42f8dbd0fdec8 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 7 Oct 2020 13:40:04 +0200 Subject: [PATCH] :bug: Fix styles on shared libraries section. --- frontend/src/app/main/ui/dashboard/libraries.cljs | 5 +++-- frontend/src/app/main/ui/dashboard/projects.cljs | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/main/ui/dashboard/libraries.cljs b/frontend/src/app/main/ui/dashboard/libraries.cljs index ef7c131453..fbb0e7606c 100644 --- a/frontend/src/app/main/ui/dashboard/libraries.cljs +++ b/frontend/src/app/main/ui/dashboard/libraries.cljs @@ -36,7 +36,8 @@ [:* [:header.dashboard-header - [:h1.dashboard-title (tr "dashboard.header.libraries")]] - [:section.dashboard-grid-container + [:div.dashboard-title + [:h1 (tr "dashboard.header.libraries")]]] + [:section.dashboard-container [:& grid {:files files}]]])) diff --git a/frontend/src/app/main/ui/dashboard/projects.cljs b/frontend/src/app/main/ui/dashboard/projects.cljs index 907c63b0ba..a4a8a1a799 100644 --- a/frontend/src/app/main/ui/dashboard/projects.cljs +++ b/frontend/src/app/main/ui/dashboard/projects.cljs @@ -9,8 +9,6 @@ (ns app.main.ui.dashboard.projects (:require - [okulary.core :as l] - [rumext.alpha :as mf] [app.common.exceptions :as ex] [app.main.constants :as c] [app.main.data.dashboard :as dd] @@ -22,7 +20,9 @@ [app.util.dom :as dom] [app.util.i18n :as i18n :refer [t tr]] [app.util.router :as rt] - [app.util.time :as dt])) + [app.util.time :as dt] + [okulary.core :as l] + [rumext.alpha :as mf])) (mf/defc header {::mf/wrap [mf/memo]}