Add project backgrounds

This commit is contained in:
Maksim Eltyshev
2020-05-26 00:46:04 +05:00
parent fb9ceb5db7
commit 2f7a244807
67 changed files with 774 additions and 210 deletions

View File

@@ -75,7 +75,7 @@ const getColor = (name) => {
const User = React.memo(({ name, avatarUrl, size, isDisabled, onClick }) => {
const style = {
...STYLES[size],
background: avatarUrl ? `url("${avatarUrl}")` : getColor(name),
background: avatarUrl ? `url("${avatarUrl}") center / cover` : getColor(name),
};
const contentNode = (

View File

@@ -12,9 +12,6 @@
}
.wrapper {
background-position: center center !important;
background-repeat: no-repeat !important;
background-size: cover !important;
border: none;
border-radius: 50%;
color: #fff;