Skip to content

Commit

Permalink
style(NcAvatar): make border-radius consistent
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Aug 5, 2024
1 parent 9e13fd6 commit 8152c9c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/NcAvatar/NcAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,9 @@ export default {
min-width: var(--size);
}
}
& > :deep(.button-vue) {
--button-radius: calc(var(--button-size) / 2);
& > :deep(.button-vue),
& > :deep(.action-item .button-vue) {
--button-radius: calc(var(--size) / 2);
}
}
Expand All @@ -775,7 +776,7 @@ export default {
height: var(--size);
width: var(--size);
background-color: var(--color-main-background);
border-radius: 50%;
border-radius: calc(var(--size) / 2);
.avatardiv__initials {
position: absolute;
Expand Down Expand Up @@ -844,7 +845,7 @@ export default {
.avatar-class-icon {
display: block;
border-radius: 50%;
border-radius: calc(var(--size) / 2);
background-color: var(--color-background-darker);
height: 100%;
}
Expand Down

0 comments on commit 8152c9c

Please sign in to comment.