diff --git a/addons/default/visiosoft/base-theme/resources/css/theme.css b/addons/default/visiosoft/base-theme/resources/css/theme.css index 755478f79..ea5abc457 100644 --- a/addons/default/visiosoft/base-theme/resources/css/theme.css +++ b/addons/default/visiosoft/base-theme/resources/css/theme.css @@ -74,10 +74,14 @@ font-size: 12px; line-height: 18px; margin-top: 0; - overflow: hidden; - -webkit-line-clamp: 2; font-weight: normal; } +.line-clamp { + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; +} .product-price-hb { font-size: 24px; @@ -87,9 +91,6 @@ } .fs-14{ font-size: 14px; - line-height: 1.5em; - height: 3em; /* height is 2x line-height, so two lines will display */ - overflow: hidden; /* prevents extra lines from being visible */ }