Fix description text on collection

This commit is contained in:
Fabiano Alencar 2018-11-27 14:14:18 -02:00
parent 73a2c34b50
commit a515d9f81d
2 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,10 @@
(function($) { (function($) {
$.fn.tainacan_interface_truncate = function (settings) { $.fn.tainacan_interface_truncate = function (settings) {
if(window.innerWidth <= 360) { if(window.innerWidth <= 576) {
count = 98; count = 150;
}else { }else if(window.innerWidth <= 360) {
count = 87;
} else {
count = 350; count = 350;
} }
var config = { var config = {

View File

@ -98,7 +98,7 @@
margin-top: 0.5rem; margin-top: 0.5rem;
} }
&.tainacan-interface-truncate { &.tainacan-interface-truncate {
height: 65px; min-height: 65px;
margin-bottom: 2rem; margin-bottom: 2rem;
.tainacan-interface-more, .tainacan-interface-less { .tainacan-interface-more, .tainacan-interface-less {
color: rgba(255, 255, 255, 0.60); color: rgba(255, 255, 255, 0.60);