[Glitch] Fix transparent avatars showing underlying elements in avatar stack and profile

Port 9a12568a33 to glitch-soc
lolsob-rspec
Eugen Rochko 2019-03-30 01:13:19 +01:00 committed by Thibaut Girka
parent 2393504c23
commit a547a214fd
3 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,5 @@
@mixin avatar-radius() {
border-radius: $ui-avatar-border-size;
background: transparent no-repeat;
background-position: 50%;
background-clip: padding-box;
}

View File

@ -550,6 +550,7 @@
margin-left: -2px;
.account__avatar {
background: darken($ui-base-color, 8%);
border: 2px solid lighten($ui-base-color, 4%);
}
}

View File

@ -352,6 +352,7 @@
border-radius: 50%;
position: relative;
margin-left: -10px;
background: darken($ui-base-color, 8%);
border: 2px solid $ui-base-color;
&:nth-child(1) {