make pixel avatar dynamic

This commit is contained in:
2026-09-25 10:31:14 +07:00
parent a0a70980c7
commit 54b2102e05
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -13,6 +13,8 @@
### Fixed ### 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 ### Removed
### Deprecated ### Deprecated
+1 -1
View File
@@ -79,7 +79,6 @@ impl RenderOnce for PixelAvatar {
} }
div() div()
.refine_style(&self.style)
.grid() .grid()
.grid_cols(GRID_SIZE as u16) .grid_cols(GRID_SIZE as u16)
.grid_rows(GRID_SIZE as u16) .grid_rows(GRID_SIZE as u16)
@@ -88,6 +87,7 @@ impl RenderOnce for PixelAvatar {
.overflow_hidden() .overflow_hidden()
.bg(main.opacity(0.16)) .bg(main.opacity(0.16))
.children(cells) .children(cells)
.refine_style(&self.style)
} }
} }