diff --git a/CHANGELOG.md b/CHANGELOG.md index c6a2e2f..9bc62d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ ### Fixed +- Honor an explicit size on the pixel-art avatar, so the repository header's avatar is no longer stuck at the 16px default + ### Removed ### Deprecated diff --git a/crates/signed_ui/src/pixel_avatar.rs b/crates/signed_ui/src/pixel_avatar.rs index 18a56f0..2e74173 100644 --- a/crates/signed_ui/src/pixel_avatar.rs +++ b/crates/signed_ui/src/pixel_avatar.rs @@ -79,7 +79,6 @@ impl RenderOnce for PixelAvatar { } div() - .refine_style(&self.style) .grid() .grid_cols(GRID_SIZE as u16) .grid_rows(GRID_SIZE as u16) @@ -88,6 +87,7 @@ impl RenderOnce for PixelAvatar { .overflow_hidden() .bg(main.opacity(0.16)) .children(cells) + .refine_style(&self.style) } }