diff --git a/frontend/src/app/main/ui/dashboard/team.cljs b/frontend/src/app/main/ui/dashboard/team.cljs index 53aad60ced..b3591ab226 100644 --- a/frontend/src/app/main/ui/dashboard/team.cljs +++ b/frontend/src/app/main/ui/dashboard/team.cljs @@ -876,6 +876,7 @@ invite-button [:> tooltip* {:content (tr "dashboard.invite-profile-disabled") :id "empty-invite-member-disabled-tooltip" + :class (stl/css :empty-invitations-tooltip) :tab-index 0} invite-button]))])) diff --git a/frontend/src/app/main/ui/dashboard/team.scss b/frontend/src/app/main/ui/dashboard/team.scss index 4966b8ab87..415726cc93 100644 --- a/frontend/src/app/main/ui/dashboard/team.scss +++ b/frontend/src/app/main/ui/dashboard/team.scss @@ -415,6 +415,12 @@ margin-block-start: var(--sp-l); } +// The tooltip trigger is a fit-content grid, which the text-align of the +// empty state does not center. +.empty-invitations-tooltip { + margin-inline: auto; +} + .title-field-status { position: relative; cursor: default; diff --git a/frontend/src/app/main/ui/ds/buttons/_buttons.scss b/frontend/src/app/main/ui/ds/buttons/_buttons.scss index 27bd625edf..dea54b474f 100644 --- a/frontend/src/app/main/ui/ds/buttons/_buttons.scss +++ b/frontend/src/app/main/ui/ds/buttons/_buttons.scss @@ -70,6 +70,11 @@ --button-focus-inner-ring-color: var(--color-background-secondary); --button-focus-outer-ring-color: var(--color-accent-primary); + // The light theme muted background is too pale for a light label. + :global(.light) & { + --button-disabled-fg-color: var(--color-accent-tertiary); + } + &:active, &[aria-pressed="true"] { box-shadow: inset 0 0 #{px2rem(10)} #{px2rem(2)} rgb(0 0 0 / 0.2);