1
0
Fork 0
forked from gitea/nas

refactor: Remove duplicated AvatarGroup CSS and familiar followers cleanup (#34681)

This commit is contained in:
diondiondion 2025-05-15 10:07:38 +02:00 committed by GitHub
parent d475bcce65
commit ccffa11f2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 110 additions and 100 deletions

View file

@ -2179,10 +2179,18 @@ a .account__avatar {
& > :not(:first-child) {
margin-inline-start: -8px;
}
.account__avatar {
box-shadow: 0 0 0 2px var(--background-color);
}
& > :first-child {
transform: rotate(-4deg);
}
& > :nth-child(2) {
transform: rotate(-2deg);
}
.account__avatar {
box-shadow: 0 0 0 2px var(--background-color);
}
}

View file

@ -1440,34 +1440,12 @@ code {
display: block;
color: $primary-text-color;
}
}
}
}
.avatar-pile {
display: flex;
align-items: center;
img {
display: block;
border-radius: 8px;
width: 32px;
height: 32px;
border: 2px solid var(--background-color);
background: var(--surface-background-color);
margin-inline-end: -16px;
transform: rotate(0);
&:first-child {
transform: rotate(-4deg);
}
&:nth-child(2) {
transform: rotate(-2deg);
}
&:last-child {
margin-inline-end: 0;
.icon {
vertical-align: -5px;
width: 20px;
height: 20px;
}
}
}
}