Closed (fixed)
Project:
Framework
Version:
6.x-2.4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2009 at 15:05 UTC
Updated:
25 Apr 2009 at 08:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
kewlguy commentedSorry, here is the screen shot.
Comment #2
binford2k commentedIt's all dependent on the theme in use. Grab a copy of firebug and inspect the tabs-wrapper div.
Comment #3
kewlguy commentedOk, so I got's me a firebug on the go and what do I find but;
When I turn off the white-space 'nowrap' line the tabs then stay within the content area, though the tabs then want to overlay themselves over each line now...sigh! round and round we go...lol I'm guessing here though I'm thinking the line-height 'normal' might need to change as well?
I go look for this in my theme and I find no system.css, anybody have an idea of how I can 'override' this setting in a theme?
I'd hate to hack it out of system.css on line 215 and then have it come back each time I update drupal core. I've notice that Garland does the same thing to the tabs.
Ideas? Tips? Tricks? Baby Steps? Anyone?
Comment #4
Jeff Burnz commentedUse white-space: normal, then adjust the other attribute values till it looks right - http://www.w3schools.com/CSS/pr_text_white-space.asp
so in your themes css file:
ul.primary {
white-space: normal;
}
this will override system.css
Comment #5
kewlguy commented@jmburnz Thanks for the quality tip. That's the one that hits the sweet spot. ah ha me says!
Should I be reporting this as a bug? I mean since I haven't modified the framework theme yet and I have just been installing modules, sorta, letting them have their way with the tabs. Otherwise this posting could be considered closed. And I am a happier camper!
Comment #6
Jeff Burnz commentedIts not really a bug, just one of those design things that works most of the time but not all the time ;)
Its not the theme either, the css comes from Drupal core, and since Framework is a starter theme its not doing so much to override drupal core styles I imagine.