File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 339339
340340 spanTitle . innerText = p . title ;
341341
342+ if ( [ 2 ] . indexOf ( layout ) !== - 1 && p . title && p . title . length > 55 ) {
343+ spanTitle . innerText = p . title . substring ( 0 , 55 ) + '...' ;
344+ }
345+
342346 if ( layout == 3 && obj . data . design . hideText ) {
343347 spanTitle . classList . add ( 'hide' ) ;
344348 }
901905 display : inline-block;
902906 }
903907
908+ .layout2 .media-holder-text {
909+ display : flex;
910+ align-items : center;
911+ height : 100% ;
912+ }
913+
904914 .layout2 .media-holder-text span {
905- overflow : hidden;
906- text-overflow : ellipsis;
907- white-space : nowrap;
908- position : relative;
909- display : block;
910- height : 21vw !important ;
911- line-height : 21vw !important ;
915+ word-break : break-word;
912916 }
913917
914918 # pluginsContainer .layout3 .pluginItem .pluginItemDetails {
You can’t perform that action at this time.
0 commit comments