Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.14
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2011 at 15:34 UTC
Updated:
3 Nov 2011 at 19:25 UTC
when updating to 6.x-2.14 from 6.x-2.12 Views using 'Style: Grid' have an extra css class in the table so:
<table class="views-view-grid">
is now
<table class="views-view-grid col-2">
or col-3 if it's got 3 columns etc, which is fine unless you've applied a style to .col-2 in css as it then gets applied to the whole table...
Comments
Comment #1
dawehnerI'm sorry for this, bug we can't remove features because they might break something.
It would be basically the same as you would write a php function with the same name as a certain module and complain that this module introduces it. col-2 is a really valid name here.
Please improve your css so it doesn't break anymore.
Comment #2
oggsmith commentedYou seem to have got it the wrong way round - the update breaks existing sites, you don't introduce new features in a security update.
Comment #3
merlinofchaos commentedThe security update is 2.13.
The col-X feature has been in -dev for well over a year. Your choice is to downgrade to 2.13 or adjust your CSS to compensate. Sorry.
Comment #4
oggsmith commentedThe 'fix' to get round this is to change your css from say:
to something like:
Comment #5
merlinofchaos commentedBetter to use td.col-1 that way you guarantee you're operating on a table cell. Specificity here is good.