forked from verdnatura/hedera-web
Card list change
This commit is contained in:
parent
b19bf710e8
commit
ef35914f34
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue