Skip to content

Commit

Permalink
Merge pull request #5916 from nextcloud-libraries/fix/5898/ncavatar-b…
Browse files Browse the repository at this point in the history
…order-radius

style(NcAvatar): make border-radius consistent
  • Loading branch information
Antreesy committed Aug 5, 2024
2 parents 9e13fd6 + 8152c9c commit 1628264
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 1628264

Please sign in to comment.