diff --git a/src/assets/js/tainacan-interface-truncate.js b/src/assets/js/tainacan-interface-truncate.js index 3139be1..4a50dde 100644 --- a/src/assets/js/tainacan-interface-truncate.js +++ b/src/assets/js/tainacan-interface-truncate.js @@ -1,8 +1,10 @@ (function($) { $.fn.tainacan_interface_truncate = function (settings) { - if(window.innerWidth <= 360) { - count = 98; - }else { + if(window.innerWidth <= 576) { + count = 150; + }else if(window.innerWidth <= 360) { + count = 87; + } else { count = 350; } var config = { diff --git a/src/assets/scss/_home-collection.scss b/src/assets/scss/_home-collection.scss index 85bbfe6..0685e45 100644 --- a/src/assets/scss/_home-collection.scss +++ b/src/assets/scss/_home-collection.scss @@ -98,7 +98,7 @@ margin-top: 0.5rem; } &.tainacan-interface-truncate { - height: 65px; + min-height: 65px; margin-bottom: 2rem; .tainacan-interface-more, .tainacan-interface-less { color: rgba(255, 255, 255, 0.60);