aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2021-04-27 16:08:10 +0200
committerGitHub <noreply@github.com>2021-04-27 16:08:10 +0200
commit0979075453b380fa8e3694db3f460e822f046c35 (patch)
tree93efe74fe8fb76c39a5acfe0722243ccdfd045b5 /client/src/sass/include
parent75d749596205511e012cecbdd39123277244f462 (diff)
downloadPeerTube-0979075453b380fa8e3694db3f460e822f046c35.tar.gz
PeerTube-0979075453b380fa8e3694db3f460e822f046c35.tar.zst
PeerTube-0979075453b380fa8e3694db3f460e822f046c35.zip
Use account initial as default avatar (#4002)
* client: use account initial as default avatar * fix UI in user list Avatars was cutted in the top and bottom
Diffstat (limited to 'client/src/sass/include')
-rw-r--r--client/src/sass/include/_mixins.scss10
1 files changed, 1 insertions, 9 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index e03201cef..2c8ad1d57 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -830,17 +830,9 @@
830 --chip-padding: .2rem .3rem; 830 --chip-padding: .2rem .3rem;
831 } 831 }
832 832
833 .avatar { 833 ::ng-deep .avatar {
834 margin-left: -.4rem; 834 margin-left: -.4rem;
835 margin-right: .2rem; 835 margin-right: .2rem;
836 height: $avatar-height;
837 width: $avatar-height;
838
839 border-radius: 50%;
840 display: inline-block;
841 line-height: 1.25;
842 position: relative;
843 vertical-align: middle;
844 } 836 }
845 837
846 &.two-lines { 838 &.two-lines {