I'm using Toolbar with Zen and noticed that it doesn't work fine out of the box.
There are two issues:
- Zen adds margins to ul.links
- Toolbar has a height of 30px but it doesn't set its font-size. It inherits a gorgeous 12.8px font-size from Seven, or a pretty 12px font-size from Garland. Either way, it breaks with larger font-sizes
The first issue is easy: add css to fix that (who knows what other theme). The second issue is odd: maybe the best path is actually setting the toolbar height to an em based value. Assuming Garland as a standard, the height would be 2.5em.
I have also changed ul.links size and line-height, since they were fixed in px and would break larger toolbar sizes as well.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1248670-toolbar-zen-conflict-2.patch | 479 bytes | barraponto |
| #1 | 1248670-toolbar-zen-conflict-1.patch | 728 bytes | barraponto |
| toolbar-zen-conflict.patch | 745 bytes | barraponto |
Comments
Comment #1
barrapontoHere is a better patch, which actually centers the whole stuff.
Comment #2
barrapontoHm, actually, things would be far easier if toolbar just declared its font-size.
I found several quirks with the help link and sprites. So I'm rolling back and just adding margin:0 and font-size:12px.
Comment #3
OnkelTem commented+1
Also, it conflicts with Admin menu.