Closed (duplicate)
Project:
Tao
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2011 at 21:49 UTC
Updated:
16 Jan 2014 at 23:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dtarc commentedPatch attached
Comment #2
dtarc commentedTrying another patch to work with drush make.
Comment #3
dtarc commentedThis may be a duplicate of a core issue: #1015798: Fieldsets inside vertical tabs have no title and can't be collapsed.
However, since Tao is explicitly setting those legends to "display:none" it will need to be fixed here even when it gets fixed in core:
.vertical-tabs .vertical-tabs-panes .vertical-tabs-pane legend { display:none; }
Also I notice that there is a similar issue in the Rubik queue: #1172040: Contrib solution for non-collapsible fieldsets and missing titles. With Tao being Rubik's base theme the fix should come here.
Comment #4
jonathan1055 commentedHi,
Issue #1172040: Contrib solution for non-collapsible fieldsets and missing titles is not in the Rubik issue queue, it is in Scheduler, where we use collapsible fieldsets which may be inside vertical tabs. I devised a way to fix the core problem within scheduler to allow our users to continue to use the D7 version. Originally it just fixed core themes, but now I have expanded the fix so that any specific theme which reports the problem can be corrected by scheduler until such time as the base theme is corrected.
In my patch there was also a specific correction for Rubik/Tao which was not a problem on Safari or Chrome but Firefox needed the fix. You are welcome to use it:
The critical part is that it is the second div to have class=fieldset-content. I think this may be a fault in the html generation in core to have two levels of nested divs which both have the same class. I do not thinnk this is actually what was intended.
Jonathan
Comment #5
rickvug commentedAttached is an updated version of the patch in comment #1. I added a 1px padding-top to the fieldset, which fixes a bug that causes Chrome not to respect the 30px margin. I also incorporated the fieldset border from comment #4 but changed the color to #ddd to match the fieldset legend.
Comment #6
ericduran commentedActually the patch should be a lot simpler.
Here's my fix. It just add the ">" being that we want the direct child not every legend to be hidden.
Patch attached also here are some screenshots of before and after:
Before:
After:
Comment #7
ericduran commentedAlso switching to dev since is still a problem there.
Comment #8
evanbarter commented#6 works for me with scheduler, as advertised and I was also able to test it with Metatags. Let's get this in there, this has been an annoying problem for too long.
Comment #9
jonathan1055 commentedFor info, the core issue #1015798: Fieldsets inside vertical tabs have no title and can't be collapsed was committed to dev at the end of February, so it should appear in the next full release of D7.
Comment #10
haydeniv commentedIs this still an issue now that the core fix has been committed?
Comment #11
dave reidIt does in fact look like this is resolved with the core update.
Comment #12
haydeniv commentedFair enough.
Duplicate of #1015798: Fieldsets inside vertical tabs have no title and can't be collapsed