mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-02 15:30:06 +00:00
Updated books list view description to be limited by css
Instead of length limited Related to #1222
This commit is contained in:
parent
f36e6d9917
commit
0ca8d7fc03
3 changed files with 5 additions and 1 deletions
resources
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue