Skip to content

Commit

Permalink
Merge pull request #12635 from wandji20/wb-OFN-10685
Browse files Browse the repository at this point in the history
(Fix) Product description not correctly truncated
drummer83 authored Jul 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents d60d29b + 8a8a178 commit f0fd3bb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/webpacker/css/darkswarm/_shop-product-rows.scss
Original file line number Diff line number Diff line change
@@ -144,7 +144,7 @@
}

.product-description {
white-space: nowrap;
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 0.75rem;
@@ -156,8 +156,7 @@
-webkit-box-orient: vertical;
overflow: hidden;
// line-clamp is not supported in Safari
line-height: 1rem;
height: 1.75rem;
line-height: 1.75rem;

> div {
margin-bottom: 1.5rem; // Equivalent to p (trix doesn't use p as separator by default, so emulate div as p to be backward compatible)

0 comments on commit f0fd3bb

Please sign in to comment.