mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-14 17:04:04 +01:00
[Glitch] Fix transparent avatars showing underlying elements in avatar stack and profile
Port 79227d153b
to glitch-soc
This commit is contained in:
parent
59551ece31
commit
b9b472d519
3 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
||||||
@mixin avatar-radius() {
|
@mixin avatar-radius() {
|
||||||
border-radius: $ui-avatar-border-size;
|
border-radius: $ui-avatar-border-size;
|
||||||
background: transparent no-repeat;
|
|
||||||
background-position: 50%;
|
background-position: 50%;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
}
|
}
|
||||||
|
|
|
@ -550,6 +550,7 @@
|
||||||
margin-left: -2px;
|
margin-left: -2px;
|
||||||
|
|
||||||
.account__avatar {
|
.account__avatar {
|
||||||
|
background: darken($ui-base-color, 8%);
|
||||||
border: 2px solid lighten($ui-base-color, 4%);
|
border: 2px solid lighten($ui-base-color, 4%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -352,6 +352,7 @@
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: -10px;
|
margin-left: -10px;
|
||||||
|
background: darken($ui-base-color, 8%);
|
||||||
border: 2px solid $ui-base-color;
|
border: 2px solid $ui-base-color;
|
||||||
|
|
||||||
&:nth-child(1) {
|
&:nth-child(1) {
|
||||||
|
|
Loading…
Reference in a new issue