Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forum.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Sep 2015 at 11:11 UTC
Updated:
29 Sep 2015 at 10:04 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
thamasThese are the affected lines of #2408513: Refactor forum module CSS files inline with our CSS standards
The removed selectors were very old part of the Drupal core code (I saw them to exist in commits in 2006…).
However they did not include the first column of the forum list table (used to be
.forumand called to.forum-list__forumcurrently). So the first column became narrower when other column became wider.By the way if we commented our code, we could know what the goal of a rule is and what would be affected by a modification.
Comment #3
bruvers commentedThe patch removes the
.forum td { white-space: nowrap; }rule, as it is a simple fix and I could not find any regressions.Comment #5
rudraram commentedPatch in #3 works good and got applied clean. We can RTBC once the test bot finishes it's job. Attaching screenshots.
Before:

After:

Comment #6
rudraram commentedTest bot failed. that's weird. I think it should be re-tested.
Comment #7
bruvers commentedThe patch shouldn't cause any failures. I queued the patch for re-testing.
Comment #8
jaxxed commentedre-test passed, this needs review.
Comment #10
lewisnymanThanks for the patch and the manual testing. I reviewed the code and I'm happy with this solution. Yay for deleting code.
Comment #11
thamasThank you all for the quick fix!
Comment #12
alexpottYeah but what this issue is not addressing is why the nowrap was there for the other columns in the first place. And it does not say why it is no longer necessary.
Comment #13
lewisnyman@alexpott Good point. I looked into this code and traced it back to a commit made in 2003:
Interesting that back then all CSS was kept within one
drupal.cssfile. I guess this was something to do with forum icons? The implementation has probably changed since those days when everyone was still using IE6 :)Comment #14
alexpottWell the fix is certainly an improvement :). Committed bfee1c7 and pushed to 8.0.x. Thanks!