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

dawehner’s picture

Status: Active » Fixed

I'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.

oggsmith’s picture

Status: Fixed » Active

You seem to have got it the wrong way round - the update breaks existing sites, you don't introduce new features in a security update.

merlinofchaos’s picture

The 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.

oggsmith’s picture

Status: Active » Closed (won't fix)

The 'fix' to get round this is to change your css from say:

.views-view-grid {width:400px;}
.col-1 {width:50%;}
.col-2 {width:50%;}

to something like:

.views-view-grid {width:400px}
.col-2 .col-1 {width:50%}
.col-2 .col-2 {width:50%}
merlinofchaos’s picture

Better to use td.col-1 that way you guarantee you're operating on a table cell. Specificity here is good.