Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapsed Matrix blocks inside of SuperTable stretch way outside of the canvas #24

Closed
theskyfloor opened this issue Aug 8, 2015 · 4 comments

Comments

@theskyfloor
Copy link

As you can see on the right hand side of this image the Matrix block exceeds the SuperTable container when it is collapsed and only when it is collapsed. Another issue I am running into is that click on the Matrix block headline jumps me down the page... seems to be an anchor tag sort of behavior - although it might be in the Craft Matrix code and have nothing to do with ST.

screen shot 2015-08-08 at 2 21 40 pm

@theskyfloor
Copy link
Author

Oh interesting - it seems to be because the Matrix block is trying to preview all of the field content - and since it is many paragraphs of text it is running outside of the frame.

@chasegiunta
Copy link

Might be worth tinkering with this, with the CPCSS plugin as a temporary fix. Is this a SuperTable specific problem?

@engram-design
Copy link
Member

@theskyfloor @chasegiunta Yeah, its something that we can fix, its due to the field's table being set to table-layout: auto;, and can be sorted by setting it to table-layout: fixed;. But this messes up the auto-width for the first column (the one with the column/row heading). While I can set these to be fixed-width, it was kinda handy having them fluid.

I'll have a look at changing this, but if one of your guys can put together some better css to take care of this, by all means go ahead 😃

@engram-design
Copy link
Member

Fixed in the 0.3.4 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants