Skip to content

Commit 66cdb9e

Browse files
committed
fix: remove paired offset, use uniform 2D grid for avatars
1 parent d108234 commit 66cdb9e

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

‎authorship-widget.css‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,12 @@
7373

7474
.ae-avatar-cloud {
7575
display: grid;
76-
grid-template-columns: repeat(auto-fill, 22px);
76+
grid-template-columns: repeat(auto-fill, 24px);
7777
justify-content: center;
78-
gap: 2px 2px;
79-
max-width: 300px;
78+
gap: 3px;
79+
max-width: 320px;
8080
margin: 0 auto;
8181
}
82-
/* Offset every other row for honeycomb feel */
83-
.ae-cloud-avatar:nth-child(even) {
84-
transform: translateX(6px);
85-
}
86-
.ae-cloud-avatar:nth-child(even):hover {
87-
transform: translateX(6px) scale(1.3);
88-
}
8982

9083
.ae-cloud-avatar {
9184
width: 22px;

0 commit comments

Comments
 (0)