0
1
Fork 0

Card list change

This commit is contained in:
William Buezas 2024-08-18 21:39:44 -03:00
parent b19bf710e8
commit ef35914f34
1 changed files with 23 additions and 9 deletions

View File

@ -22,17 +22,15 @@ const handleClick = () => {
:class="{ 'cursor-pointer': clickable, 'no-radius': !rounded }"
@click="handleClick()"
>
<QItemSection class="no-padding">
<div class="row no-wrap">
<div class="no-padding content-container col-10">
<slot name="prepend" />
<div class="column full-width">
<div class="content">
<slot name="content" />
</div>
</div>
</QItemSection>
<QItemSection class="no-padding" side>
<div class="no-padding flex full-width justify-center">
<slot name="actions" />
</QItemSection>
</div>
</QItem>
</template>
@ -41,4 +39,20 @@ const handleClick = () => {
border-bottom: 1px solid $gray-light;
padding: 20px;
}
.content {
display: flex;
flex-direction: column;
overflow: hidden;
* {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.content-container {
display: flex;
}
</style>