-
Notifications
You must be signed in to change notification settings - Fork 232
Fixing issue where long, unbroken strings in resource name cell URLs breaks layout #1166
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
Conversation
Should we apply the break-all styles to just the columns that need it? Some columns like status and relative times shouldn't need break-all. |
There is a As for whether we should apply word-break-all by default... I assume it would depend on whether we think there's a greater risk of breaking content when it's not intended or not breaking long strings where needed. Either way we approach it, will require individual examination of a tables column content. |
I feel like we have the default backwards: we should only apply the style to the few columns that need it, not the whole table. I'd rather add word-break-all to the td elements that need it and remove the class that adds it to the whole table. |
I switched the default to opt-in to word-break. PTAL @spadgett. |
@spadgett, changed so that all td, th elements in .table-layout-fixed get word-break by default. |
Suggest we give less width to "Last Build" and more to "Created." We might want duration value and unit to wrap together. (Doesn't have to be in this PR, but noticed while testing.) @jwforres We might have too many columns in some of our tables :/ |
We should consider updating build-config.html, deployment-config.html, deployment.html, and other-resources.html, too. |
I think it should be better now.
Done. And now we hide "Source" at small viewport sizes. And fixed the th wrapping issue by removing word-break for th elements.
Done: Not done as I don't think it's necessary (am I overlooking something on these?): Let's give this another whirl, @spadgett? |
[merge] |
Evaluated for origin web console merge up to a8426d2 |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/986/) (Base Commit: a506596) |
Fixes #1161
Plus bonus bug fix for Pods table where colspan was incorrect
@jwforres or @spadgett, PTAL. cc: @sg00dwin