diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-03 11:54:42 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-03 11:54:42 +0100 |
commit | 4e8c872874d95d4851896014e5c15ff93f267c89 (patch) | |
tree | 6c340a4db516d6415482e1b00ea306f712674ed9 /client/src/sass/include | |
parent | e8e122002d5a6a2bedcf3d66d35657c9b9e1ebaf (diff) | |
download | PeerTube-4e8c872874d95d4851896014e5c15ff93f267c89.tar.gz PeerTube-4e8c872874d95d4851896014e5c15ff93f267c89.tar.zst PeerTube-4e8c872874d95d4851896014e5c15ff93f267c89.zip |
Circle avatar
Diffstat (limited to 'client/src/sass/include')
-rw-r--r-- | client/src/sass/include/_mixins.scss | 13 |
1 files changed, 7 insertions, 6 deletions
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 @@ | |||
110 | } | 110 | } |
111 | } | 111 | } |
112 | 112 | ||
113 | @mixin avatar ($size) { | ||
114 | width: $size; | ||
115 | height: $size; | ||
116 | } | ||
117 | |||
118 | @mixin icon ($size) { | 113 | @mixin icon ($size) { |
119 | display: inline-block; | 114 | display: inline-block; |
120 | background-repeat: no-repeat; | 115 | background-repeat: no-repeat; |
@@ -125,7 +120,6 @@ | |||
125 | cursor: pointer; | 120 | cursor: pointer; |
126 | } | 121 | } |
127 | 122 | ||
128 | |||
129 | @mixin peertube-select-container ($width) { | 123 | @mixin peertube-select-container ($width) { |
130 | padding: 0; | 124 | padding: 0; |
131 | margin: 0; | 125 | margin: 0; |
@@ -267,3 +261,10 @@ | |||
267 | } | 261 | } |
268 | } | 262 | } |
269 | 263 | ||
264 | |||
265 | @mixin avatar ($size) { | ||
266 | object-fit: cover; | ||
267 | border-radius:50%; | ||
268 | width: $size; | ||
269 | height: $size; | ||
270 | } | ||