From 4e8c872874d95d4851896014e5c15ff93f267c89 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Jan 2018 11:54:42 +0100 Subject: Circle avatar --- client/src/sass/include/_mixins.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'client/src/sass') diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 140de1b2c..7bfc93f08 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -110,11 +110,6 @@ } } -@mixin avatar ($size) { - width: $size; - height: $size; -} - @mixin icon ($size) { display: inline-block; background-repeat: no-repeat; @@ -125,7 +120,6 @@ cursor: pointer; } - @mixin peertube-select-container ($width) { padding: 0; margin: 0; @@ -267,3 +261,10 @@ } } + +@mixin avatar ($size) { + object-fit: cover; + border-radius:50%; + width: $size; + height: $size; +} -- cgit v1.2.3