Fix gallery view/preview
This commit is contained in:
parent
ae61bf36aa
commit
480ca0b8c0
8 changed files with 259 additions and 29 deletions
|
|
@ -4,10 +4,10 @@
|
|||
<v-card flat>
|
||||
<v-card-text>
|
||||
|
||||
<v-container class="mt-0 pa-0 pt-3 action-row-container-no-dividers">
|
||||
<v-container class="mt-0 pa-0 pt-3 pb-3 action-row-container-no-dividers">
|
||||
<ActionRow v-for="item in menuItems" :key="item.name" :icon="item.icon" :iconSize="16" :text="item.text" @click="$emit('close');item.handler()" />
|
||||
|
||||
<v-row class="profile-row clickable" @click="viewProfile" no-gutters align-content="center">
|
||||
<v-row v-if="showProfile" class="profile-row clickable" @click="viewProfile" no-gutters align-content="center">
|
||||
<v-col cols="auto" class="me-2">
|
||||
<v-avatar class="avatar-32" size="32" color="#e0e0e0" @click.stop="viewProfile">
|
||||
<img v-if="userAvatar" :src="userAvatar" />
|
||||
|
|
@ -40,6 +40,12 @@ export default {
|
|||
return false;
|
||||
},
|
||||
},
|
||||
showProfile: {
|
||||
type: Boolean,
|
||||
default: function () {
|
||||
return true;
|
||||
},
|
||||
},
|
||||
menuItems: {
|
||||
type: Array,
|
||||
default: function() {
|
||||
|
|
@ -116,7 +122,7 @@ export default {
|
|||
|
||||
.profile-row {
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||
padding: 20px 20px !important;
|
||||
padding: 20px 20px 8px 20px !important;
|
||||
}
|
||||
|
||||
.action-row:after {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue