-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Long unbroken text values in list columns override explicit widths #4618
Comments
It's not that PR @ayumihamasaki2019 - it's related to preview only. |
@w20k @bennothommo sorry, wrong pr mentioned, I did a quick search. |
@bennothommo hm...yeah, PR is a bit strange. I mean he had Chrome issue only, and he just added |
Any recommendations where to add my javascript repsonsive fix?
|
@ayumihamasaki2019 I'd rather not have a JS fix if possible. Is there any way this can be fixed with just CSS? Perhaps using a |
@ayumihamasaki2019 please don't, we need to fix from the core not to add hack. Sorry, to say, but your approach is just fixing current and incorrect behavior. @bennothommo mind if I rever the PR, and look at it. How original issues could be fixed? |
@w20k I think the original fix is the correct one for their particular issue, it's just that it becomes ugly when space is constrained. |
@bennothommo I mean it's correct |
@w20k Fair point - yeah, go ahead and revert it. We'll have to tackle the long URL/string issue another way I think. |
The hack has to be a container like a If you have images in a table column they are cut in half with that pr. Please investigate further and let me know. p.s. a working example of my hack is found here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_table_responsive (resize the test screen and you will see the table become responsive) |
@ayumihamasaki2019 I didn't think |
@bennothommo images coming from |
@ayumihamasaki2019 Oh right, well that's going to be an issue regardless when working with constrained screen widths. :) |
@bennothommo can't be reverted automatically. Would have to look at it at home :) |
The fix is simple. We should add
or just |
I had same issue it was breaking everything in columns then i just used |
All I'm gonna say is this: whatwg/html#4908 |
@w20k Doesn't I also think @ayumihamasaki2019's idea of a scrollable container is a good one, although it needs to be done in the widget templates, not as a JS fix. |
@bennothommo table is already scrollable, if you hold on labels in table |
Just tested @Samuell1 comment out, I did get the list widget to scroll, it's not labels its the But it's very confusing and not a good design. It would be better to change the Current setup in list widgetAll table hover is Changing cursor to grab in list widgetOnly table header is Though, I think a better design could be done... |
Reported issues with tables with constrained widths breaking content too much. Refs: octobercms/october#4618
@ayumihamasaki2019 feel free to submit a PR for the grab cursor icon, I like that as a good minor improvement in the meantime. |
Done. 👍 |
Fixed by #4629 |
Reported issues with tables with constrained widths breaking content too much. Refs: octobercms/october#4618
Basically someone has added a PR and merged it into the develop branch and not properly tested it.
Someone has now added this to all tables:
So now all the words in tables are cut up and not reading correctly and you haven't fixed the basic issue of making a table responsive!
Here is a correct solution for tables in October backend:
Then remove the bad css code please:
I believe the pr creating this issue is here: #4236
Taking this one step further:
Because people are lazy to add this to their tables, you can inject the HTML wrapper into the dom.
I have already done this to fix my plugins:
p.s. If people add css changes can they try to isolate their css code to specific elements and not every single form element, please!
The text was updated successfully, but these errors were encountered: