Modulo Administración #78
|
@ -22,17 +22,15 @@ const handleClick = () => {
|
|||
:class="{ 'cursor-pointer': clickable, 'no-radius': !rounded }"
|
||||
@click="handleClick()"
|
||||
>
|
||||
<QItemSection class="no-padding">
|
||||
<div class="row no-wrap">
|
||||
<slot name="prepend" />
|
||||
<div class="column full-width">
|
||||
<slot name="content" />
|
||||
</div>
|
||||
<div class="no-padding content-container col-10">
|
||||
<slot name="prepend" />
|
||||
<div class="content">
|
||||
<slot name="content" />
|
||||
</div>
|
||||
</QItemSection>
|
||||
<QItemSection class="no-padding" side>
|
||||
</div>
|
||||
<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