We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7c14ea commit 9812248Copy full SHA for 9812248
1 file changed
src/components/avatar/_avatar.scss
@@ -57,6 +57,8 @@
57
display: flex;
58
justify-content: center;
59
align-items: center;
60
+ // https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b
61
+ mask-image: radial-gradient(white, black);
62
}
63
64
.b-avatar-text {
@@ -79,6 +81,9 @@
79
81
height: 100%;
80
82
max-height: auto;
83
border-radius: inherit;
84
+ // This is not supported in IE11 and Edge <16
85
+ // https://caniuse.com/#feat=object-fit
86
+ object-fit: cover;
87
88
89
.b-avatar-badge {
0 commit comments