[TYPO3-core] RFC: #8132: div.docheader-row2-right missing margin

Steffen Kamper steffen at sk-typo3.de
Wed Apr 16 21:52:17 CEST 2008


"Francois Suter" <fsuter at cobweb.ch> schrieb im Newsbeitrag 
news:mailman.1.1208373986.25804.typo3-team-core at lists.netfielders.de...
> Hi,
>
>> in stylesheet div.docheader-row2-left has -3px top-margin.
>> As div.docheader-row2-right should be the same it seems to be forgotten.
>
> Are you sure there are no side effects to your changes?
>
> I know that style, because I introduced it to fix the problems with the 
> select elements being too low in the second row of the doc-header. The 
> negative margin was necessary to "pull" the select items up in the bar. 
> The problem is that this is necessary only for select elements, which is 
> why I had to introduce a wrap around each CSH icon, to add some padding 
> and "push" it back down so that it looks vertically aligned in the middle.
>
> Maybe it's a good idea to add the negative margin to 
> div.docheader-row2-right to make it like the left margin, but then you 
> need to compensate, which means changing all the templates to add a 
> wrapper around any content of the right part...
>
> Cheers
>
> -- 
>

Hi Francois,

the tip for this comes from Rupi who use a own tenplate with a select on the 
right.
In core we now don't have selects there, and i think both sides has to be 
unique to don't run in trouble using docheaders in own modules. If wrappers 
are missing that are in the left they should be in the right too for that 
reason.
So could you do a follow up?

In general this shows up a negative aspect of the actual template system, we 
should think about be more flexible. Say, if wrappers are needed for ensure 
the correct view they should be outside the "user-template", but this is a 
possible point for 4.3.

vg Steffen 




More information about the TYPO3-team-core mailing list