Included is a patch to 4.7.0 (I think) that adds styles to the tables used in amazon nodes. This is only a preliminary patch, I just needed something with a quickie fix. Ideally we would be checking to see if we were producing a teaser or the node display itself, and output different styles, but this gets me going.
Besides the patch below, you will also need a style something like this:
/* amazontools */
table.amazontools {
float: right;
width: 25em;
}
/* end amazontools */
This is what I'm using. Specifying the table size in ems means that as you change your font size, it grows/shrinks to fit. You could specify it in pixels, but then if the font size is changed, display will be hosed. CSS3 is supposed to let us do things like size: 150px + 4em; so if that's true, that will be a nice time to change this style up. :)
If the patch doesn't apply, take a look at it; it will make it pretty clear what's going on. I'm just adding class="amazontools" to one line in amazon.module.
| Comment | File | Size | Author |
|---|---|---|---|
| themable.patch | 725 bytes | hyperlogos |
Comments
Comment #1
hyperlogos commentedI'm closing this issue as I accidentally rolled the functionality into another patch. It makes more sense there anyway.