Skip to content

Commit

Permalink
Improve rendering of translucent avatars (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
germain-gg authored Sep 25, 2023
1 parent 9897736 commit 730c2c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Avatar/Avatar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ limitations under the License.
font-weight: bold;
overflow: hidden;
user-select: none;

/* Set a background color to help with visual consistency when displaying
* avatars with a translucent background */
background: var(--cpd-color-bg-canvas-default);
}

button.avatar {
Expand Down

0 comments on commit 730c2c3

Please sign in to comment.