Skip to content

Commit

Permalink
Merge pull request #3310 from nextcloud/enh/noid/fix-avatar-padding
Browse files Browse the repository at this point in the history
fix Avatar Size
  • Loading branch information
szaimen authored Sep 29, 2022
2 parents d57e90c + d4b5546 commit c0682d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcAvatar/NcAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
### Basic user avatar

```vue
<NcAvatar user="janedoe" display-name="Jane Doe" />
<NcAvatar user="willywonka" display-name="Willy Wonka" />
```

### Avatar with image
Expand Down Expand Up @@ -428,7 +428,7 @@ export default {
const style = {
'--size': this.size + 'px',
lineHeight: this.size + 'px',
fontSize: Math.round(this.size * 0.55) + 'px',
fontSize: Math.round(this.size * 0.45) + 'px',
}
return style
},
Expand Down

0 comments on commit c0682d3

Please sign in to comment.