chore: Design improvements for thumbnail and dropdown (#5822)
This commit is contained in:
parent
47c90e2085
commit
4f82859bba
4 changed files with 34 additions and 5 deletions
|
@ -1,5 +1,9 @@
|
|||
<template>
|
||||
<div :class="thumbnailBoxClass" :style="{ height: size, width: size }">
|
||||
<div
|
||||
:class="thumbnailBoxClass"
|
||||
:style="{ height: size, width: size }"
|
||||
:title="title"
|
||||
>
|
||||
<!-- Using v-show instead of v-if to avoid flickering as v-if removes dom elements. -->
|
||||
<img
|
||||
v-show="shouldShowImage"
|
||||
|
@ -72,6 +76,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
title: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
variant: {
|
||||
type: String,
|
||||
default: 'circle',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue