2021-10-09 18:09:06 +02:00
|
|
|
<template>
|
|
|
|
<div class="flex h-full px-1 overflow-hidden">
|
2021-10-17 18:29:52 +02:00
|
|
|
<img src="/icons/NoUserPhoto.png" class="w-40 h-40 max-h-40 object-contain" style="max-height: 40px; max-width: 40px" />
|
2021-10-09 18:09:06 +02:00
|
|
|
<div class="flex-grow px-2 authorSearchCardContent h-full">
|
|
|
|
<p class="truncate text-sm">{{ author }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
author: String
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {}
|
|
|
|
},
|
|
|
|
computed: {},
|
|
|
|
methods: {},
|
|
|
|
mounted() {}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
2021-10-17 18:29:52 +02:00
|
|
|
.authorSearchCardContent {
|
2021-10-09 18:09:06 +02:00
|
|
|
width: calc(100% - 80px);
|
|
|
|
height: 40px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
</style>
|