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
+1 -1
View File
@@ -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)
}
}