mm
This commit is contained in:
19
packages/ui-web/src/component/avatar/Avatar.css
Normal file
19
packages/ui-web/src/component/avatar/Avatar.css
Normal file
@@ -0,0 +1,19 @@
|
||||
@layer components {
|
||||
.avatar-root {
|
||||
background-color: var(--default-bg);
|
||||
}
|
||||
.avatar-image {
|
||||
object-fit: cover;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.avatar-fallback {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: var(--default-bg);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user