diff --git a/frontend/resources/styles/main/partials/dashboard-sidebar.scss b/frontend/resources/styles/main/partials/dashboard-sidebar.scss index 658411737d..1b649be296 100644 --- a/frontend/resources/styles/main/partials/dashboard-sidebar.scss +++ b/frontend/resources/styles/main/partials/dashboard-sidebar.scss @@ -77,6 +77,7 @@ } .current-team { + cursor: pointer; display: flex; flex-grow: 1; font-size: $fs14; @@ -118,7 +119,6 @@ .switch-icon { display: flex; align-items: center; - cursor: pointer; svg { width: 10px; diff --git a/frontend/src/app/main/ui/dashboard/sidebar.cljs b/frontend/src/app/main/ui/dashboard/sidebar.cljs index 73554a5146..193c72b3b8 100644 --- a/frontend/src/app/main/ui/dashboard/sidebar.cljs +++ b/frontend/src/app/main/ui/dashboard/sidebar.cljs @@ -322,7 +322,7 @@ [:div.sidebar-team-switch [:div.switch-content - [:div.current-team + [:div.current-team {:on-click #(reset! show-teams-ddwn? true)} (if (:is-default team) [:div.team-name [:span.team-icon i/logo-icon] @@ -332,7 +332,7 @@ [:img {:src (cfg/resolve-media-path (:photo team))}]] [:span.team-text {:title (:name team)} (:name team)]]) - [:span.switch-icon {:on-click #(reset! show-teams-ddwn? true)} + [:span.switch-icon i/arrow-down]] (when-not (:is-default team)