mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - For AvatarGroup
This commit is contained in:
parent
ac398b1c49
commit
4ae07e300b
3 changed files with 45 additions and 14 deletions
|
@ -1,25 +1,14 @@
|
|||
<template>
|
||||
<div class="p-avatar-group p-component" v-bind="ptm('root')">
|
||||
<div :class="cx('root')" v-bind="ptm('root')">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import BaseComponent from 'primevue/basecomponent';
|
||||
import BaseAvatarGroup from './BaseAvatarGroup.vue';
|
||||
|
||||
export default {
|
||||
name: 'AvatarGroup',
|
||||
extends: BaseComponent
|
||||
extends: BaseAvatarGroup
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.p-avatar-group .p-avatar + .p-avatar {
|
||||
margin-left: -1rem;
|
||||
}
|
||||
|
||||
.p-avatar-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue