mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-09 12:36:37 +08:00
Updated books list view description to be limited by css
Instead of length limited Related to #1222
This commit is contained in:
@ -256,6 +256,7 @@ body.flexbox {
|
|||||||
.tri-layout-middle {
|
.tri-layout-middle {
|
||||||
grid-area: b;
|
grid-area: b;
|
||||||
padding-top: $-m;
|
padding-top: $-m;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include smaller-than($xxl) {
|
@include smaller-than($xxl) {
|
||||||
|
@ -430,6 +430,9 @@ ul.pagination {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: start;
|
text-align: start;
|
||||||
}
|
}
|
||||||
|
> .content {
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
&:not(.no-hover) {
|
&:not(.no-hover) {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<div class="content">
|
<div class="content">
|
||||||
<h4 class="entity-list-item-name break-text">{{ $book->name }}</h4>
|
<h4 class="entity-list-item-name break-text">{{ $book->name }}</h4>
|
||||||
<div class="entity-item-snippet">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
Reference in New Issue
Block a user