Merge pull request #2723 from penpot/eva-a11y-bugfixing

🐛 Fix some visual errors
This commit is contained in:
Alejandro 2023-01-02 10:33:23 +01:00 committed by GitHub
commit 24538add3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View file

@ -57,9 +57,10 @@
color: $color-gray-30; color: $color-gray-30;
height: 40px; height: 40px;
padding: $size-1 $size-5; padding: $size-1 $size-5;
font-weight: 400;
&:hover { &:hover {
color: $color-black; color: $color-black;
text-decoration: none;
} }
} }

View file

@ -203,7 +203,11 @@
flex-shrink: 0; flex-shrink: 0;
padding: $size-2; padding: $size-2;
a { a {
font-weight: 400;
width: 100%; width: 100%;
&:hover {
text-decoration: none;
}
} }
svg { svg {
@ -279,7 +283,9 @@
} }
&.current { &.current {
font-weight: bold; a {
font-weight: bold;
}
&::before { &::before {
background-color: $color-primary; background-color: $color-primary;

View file

@ -68,7 +68,7 @@
[:a {:on-click go-settings} (tr "labels.settings")]]]] [:a {:on-click go-settings} (tr "labels.settings")]]]]
[:div.dashboard-buttons [:div.dashboard-buttons
(if (and (or invitations-section? members-section?) (:is-admin permissions)) (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")] (tr "dashboard.invite-profile")]
[:div.blank-space])]])) [:div.blank-space])]]))