Updated books list view description to be limited by css

Instead of length limited
Related to #1222
This commit is contained in:
Dan Brown 2021-02-12 23:10:30 +00:00
parent f36e6d9917
commit 0ca8d7fc03
3 changed files with 5 additions and 1 deletions

View File

@ -256,6 +256,7 @@ body.flexbox {
.tri-layout-middle {
grid-area: b;
padding-top: $-m;
min-width: 0;
}
}
@include smaller-than($xxl) {

View File

@ -430,6 +430,9 @@ ul.pagination {
flex: 1;
text-align: start;
}
> .content {
min-width: 0;
}
&:not(.no-hover) {
cursor: pointer;
}

View File

@ -5,7 +5,7 @@
<div class="content">
<h4 class="entity-list-item-name break-text">{{ $book->name }}</h4>
<div class="entity-item-snippet">
<p class="text-muted break-text mb-s">{{ $book->getExcerpt() }}</p>
<p class="text-muted break-text mb-s text-limit-lines-1">{{ $book->description }}</p>
</div>
</div>
</a>