Page 1 of 2

Collapsible Block Display Goes Wrong

Posted: Wed Jan 23, 2013 6:04 pm
by Joseph Yeung

Hi, just found that some of the display on screen went wrong for no apparent reason (no change of design or code on my part) :

Image

The red-circled part used to auto-truncated into ".....".
I have been using the old editor ok, but now this error.


Collapsible Block Display Goes Wrong

Posted: Wed Jan 23, 2013 7:22 pm
by Kateryna Grynko

Hello! We'll test this and I'll update.


Collapsible Block Display Goes Wrong

Posted: Wed Jan 23, 2013 8:29 pm
by Emmz

Same problem here....


Collapsible Block Display Goes Wrong

Posted: Wed Jan 23, 2013 8:56 pm
by Kateryna Grynko

It's a bug. Will be fixed soon.


Collapsible Block Display Goes Wrong

Posted: Wed Jan 23, 2013 10:39 pm
by Joseph Yeung

Good to hear your updating.


Collapsible Block Display Goes Wrong

Posted: Thu Jan 24, 2013 12:12 am
by maxkatz

I'll find out what exactly has changed (if anything) but here is what's happening.

When you put text in collapsible block header, it will try to fit the entire text. A single collapsible block is placed inside a table cell, and the table doesn't enforce children size and thus the header stretches to fit the text.

If you didn't use table and iterated directly over collapsible block, it would display only as much text as the parent container allows (with ....).

There is a workaround.

Add a CSS with this code:
code
.mobilegrid {
table-layout: fixed;
}
/code

Select the grid in the page and set its Class Name to: mobilegrid.

Select the first cell and set its width to whatever number you need. For example, I used 250. Now the header will adjust based on screen size.


Collapsible Block Display Goes Wrong

Posted: Thu Jan 24, 2013 12:22 am
by Emmz

"I'll find out what exactly has changed (if anything) "
Really??


Collapsible Block Display Goes Wrong

Posted: Thu Jan 24, 2013 12:23 am
by Emmz

I will implement the workaround you posted for something that apparently has not changed..


Collapsible Block Display Goes Wrong

Posted: Thu Jan 24, 2013 8:09 am
by Joseph Yeung

Hi, Max.

I'm fine with the work around.

But if things are back to "normal", kindly let me know.

Thx!


Collapsible Block Display Goes Wrong

Posted: Thu Jan 24, 2013 8:26 am
by Kateryna Grynko

Hi! We will update when bug is fixed.