Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.5.1 #128

Merged
merged 13 commits into from
Sep 24, 2023
Prev Previous commit
Next Next commit
Improve avatar pair styling
  • Loading branch information
ArthurClemens committed Aug 25, 2023
commit afa5c6d3460f24cb6e5f1058308ea7d27c594e20
10 changes: 9 additions & 1 deletion assets/css/primercss-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -734,4 +734,12 @@ span[data-color-mode] {
/* Support round avatars. */
.pl-avatar--round {
border-radius: 50%;
}
}
/* Support avatar pair inside a flex container. */
.avatar-parent-child {
align-self: baseline;
}
/* Add missing border in avatar child .*/
.avatar-child {
box-shadow: 0 0 0 1px var(--color-avatar-border), var(--avatar-shadow, var(--color-avatar-child-shadow));
}
6 changes: 6 additions & 0 deletions priv/static/primer-live.css
Original file line number Diff line number Diff line change
Expand Up @@ -27740,6 +27740,12 @@ span[data-color-mode] {
.pl-avatar--round {
border-radius: 50%;
}
.avatar-parent-child {
align-self: baseline;
}
.avatar-child {
box-shadow: 0 0 0 1px var(--color-avatar-border), var(--avatar-shadow, var(--color-avatar-child-shadow));
}
/*!
* @primer/css/core
* http://primer.style/css
Expand Down
2 changes: 1 addition & 1 deletion priv/static/primer-live.min.css

Large diffs are not rendered by default.