New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report] VAvatar inside small VChip is not sized properly #8129
Comments
Don't know if it's worth making a separate issue over, but |
You can add this other issue to the codepen |
The codepen has been updated to show both of these issues. |
The problem is present with any non-default sizes: <template>
<v-container>
<v-layout justify-space-around wrap align-space-around>
<v-flex>
<v-chip x-small>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
<v-chip x-small pill>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
</v-flex>
<v-flex>
<v-chip small>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
<v-chip small pill>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
</v-flex>
<v-flex>
<v-chip>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
<v-chip pill>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
</v-flex>
<v-flex>
<v-chip large>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
<v-chip large pill>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
</v-flex>
<v-flex>
<v-chip x-large>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
<v-chip x-large pill>
<v-avatar color="blue">A</v-avatar>
Text
</v-chip>
</v-flex>
</v-layout>
</v-container>
</template>
<script>
export default {
data: () => ({
})
}
</script> |
also I noticed that avatar is positioned incorrectly |
@sh7dm for some cases helps property "left" for v-avatar. |
resolved by #13192 If you have any questions, please reach out to us in our Discord community. |
Environment
Vuetify Version: 2.0.2
Vue Version: 2.6.10
Browsers: Chrome 75.0.3770.142
OS: Windows 10
Steps to reproduce
Create a
VChip
component with thesmall
prop and a childVAvatar
Expected Behavior
VAvatar
has spacing between itself and the edge of theVChip
just like it does when thesmall
prop isn't setActual Behavior
VAvatar
goes to the edge of theVChip
Reproduction Link
https://codepen.io/Dylan-Chapman/pen/QedyQg
Other comments
This also can't be fixed by setting the
VAvatar
'ssize
prop because of!important
style declarations.The text was updated successfully, but these errors were encountered: