Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

tiles should add extra descriptive class #189

Closed
polyester opened this Issue · 4 comments

3 participants

@polyester
Collaborator

it would be helpful if tiles add an extra class on what kind of tile they are. Something like 'class="covertile-pfg"', 'class="covertile-list"', to make it easier for CSS and diazo to grip onto. I'm suggesting covertile here as name, because there might be future confusion when others start using the name 'tiles' as well

@agnogueira
Collaborator

+1

@hvelarde
Owner

I think this is related with #190 that is already closed.

should we consider this as implemented?

@agnogueira
Collaborator

No, it's different. This is an automatic class for each tile, always on code, not defined by the user

@polyester
Collaborator

the use-case is different. Both are good, but this allows styling of all 'list' type tiles, without end user intervention

@warpr warpr referenced this issue from a commit in warpr/collective.cover
@warpr warpr Add cover-(type)-tile class to all tile templates.
This addresses the issue #189 for all the default tiles, but doesn't do it automatically for new tiles.
b52d557
@hvelarde hvelarde closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.