Fix description text on collection
This commit is contained in:
parent
73a2c34b50
commit
a515d9f81d
|
@ -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 = {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue