From 407831ffd1a5bb45fa47e5bd494875444b3f88e8 Mon Sep 17 00:00:00 2001 From: Eva Date: Mon, 2 Jan 2023 09:34:19 +0100 Subject: [PATCH] :bug: Fix some visual errors --- .../resources/styles/main/partials/dashboard-header.scss | 3 ++- .../resources/styles/main/partials/dashboard-sidebar.scss | 8 +++++++- frontend/src/app/main/ui/dashboard/team.cljs | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/frontend/resources/styles/main/partials/dashboard-header.scss b/frontend/resources/styles/main/partials/dashboard-header.scss index 9df42505b..8da45d989 100644 --- a/frontend/resources/styles/main/partials/dashboard-header.scss +++ b/frontend/resources/styles/main/partials/dashboard-header.scss @@ -57,9 +57,10 @@ color: $color-gray-30; height: 40px; padding: $size-1 $size-5; - + font-weight: 400; &:hover { color: $color-black; + text-decoration: none; } } diff --git a/frontend/resources/styles/main/partials/dashboard-sidebar.scss b/frontend/resources/styles/main/partials/dashboard-sidebar.scss index 070c5b199..0298cb704 100644 --- a/frontend/resources/styles/main/partials/dashboard-sidebar.scss +++ b/frontend/resources/styles/main/partials/dashboard-sidebar.scss @@ -203,7 +203,11 @@ flex-shrink: 0; padding: $size-2; a { + font-weight: 400; width: 100%; + &:hover { + text-decoration: none; + } } svg { @@ -279,7 +283,9 @@ } &.current { - font-weight: bold; + a { + font-weight: bold; + } &::before { background-color: $color-primary; diff --git a/frontend/src/app/main/ui/dashboard/team.cljs b/frontend/src/app/main/ui/dashboard/team.cljs index 9ab754741..e8dc7e20e 100644 --- a/frontend/src/app/main/ui/dashboard/team.cljs +++ b/frontend/src/app/main/ui/dashboard/team.cljs @@ -68,7 +68,7 @@ [:a {:on-click go-settings} (tr "labels.settings")]]]] [:div.dashboard-buttons (if (and (or invitations-section? members-section?) (:is-admin permissions)) - [:a.btn-primary.btn-small {:on-click invite-member :data-test "invite-member"} + [:a.btn-secondary.btn-small {:on-click invite-member :data-test "invite-member"} (tr "dashboard.invite-profile")] [:div.blank-space])]]))