[dev] [commits] Horde branch develop updated. b06007e3fb2f80449e5a72039d300ae9ebfb5630

Jan Schneider jan at horde.org
Wed Aug 8 20:05:08 UTC 2012


Zitat von Michael J Rubinsky <mrubinsk at horde.org>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
>>
>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>
>>>> Quoting Michael M Slusarz <slusarz at horde.org>:
>>>>
>>>>> Quoting Jan Schneider <jan at horde.org>:
>>>>>
>>>>>>> commit a96460170d3829c4751817d03e1e7f21020b6643
>>>>>>> Author: Michael M Slusarz <slusarz at horde.org>
>>>>>>> Date:   Wed Aug 1 15:49:32 2012 -0600
>>>>>>>
>>>>>>> [mms] Fix sidebar element wrapping (Ticket #11262).
>>>>>>>
>>>>>>> horde/docs/CHANGES                    |    1 +
>>>>>>> horde/package.xml                     |    2 +
>>>>>>> horde/templates/sidebar/_row.html.php |   12 +++--
>>>>>>> horde/templates/tree/_row.html.php    |   21 ++++----
>>>>>>> horde/themes/default/screen.css       |   84  
>>>>>>> +++++++++++++-------------------
>>>>>>> imp/docs/CHANGES                      |    1 +
>>>>>>> imp/js/dimpbase.js                    |   21 ++++----
>>>>>>> imp/js/dimpcore.js                    |    2 -
>>>>>>> imp/lib/Dynamic/Mailbox.php           |    1 -
>>>>>>> imp/package.xml                       |    2 +
>>>>>>> imp/themes/default/dynamic/screen.css |    8 +++
>>>>>>> 11 files changed, 75 insertions(+), 80 deletions(-)
>>>>>>>
>>>>>>> http://git.horde.org/horde-git/-/commit/a96460170d3829c4751817d03e1e7f21020b6643
>>>>>>
>>>>>> There are two alignment issues since this change:
>>>>>> - The "Folder Actions" label has too much distance from the icon.
>>>>>
>>>>> I spent an hour trying to figure this out last week.  AFAICT,  
>>>>> the div used for that action is identical to the divs used for  
>>>>> the mailbox entries.  And I can verify there is no  
>>>>> padding/margin/border for any element (using both Firebug and  
>>>>> Chrome's developer tools).  But if you look at the viewport  
>>>>> offset of the <A> tag, it is indeed somehow shifted 3 pixels to  
>>>>> the right (41px instead of 38px).
>>>>>
>>>>> I really have no clue where this extra padding is coming from.   
>>>>> And i'd rather not hack a -3px left margin to fix this.  Maybe  
>>>>> another CSS expert can help me figure this out.
>>>>
>>>> There is a CR that is causing this between the div containing the  
>>>> folder actions drop down icon (class="horde-subnavi-icon  
>>>> folderoptsImg") and the div containing the Folder Actions <a>  
>>>> element. Removing the CR between these two divs gets rid of the  
>>>> extra 3 pixels, though I admit I don't know *why*.
>>
>> I don't see a CR there.
>
> Viewing source I see:
>
> <div class="horde-subnavi" style="">
> <div class="horde-subnavi-icon folderoptsImg">
>  <a class="icon"></a>
> </div>
> <div class="horde-subnavi-point" id="folderopts_link"><a>Folder  
> Actions</a> </div><div class="horde-subnavi-arrow  
> horde-icon-arrow-subnavi" id="anonymous_element_5"></div>
> </div>
>
>
> Changing that (via Firebug) to:
>
> <div class="horde-subnavi" style="">
> <div class="horde-subnavi-icon folderoptsImg">
>  <a class="icon"></a>
> </div><div class="horde-subnavi-point"  
> id="folderopts_link"><a>Folder Actions</a> </div><div  
> class="horde-subnavi-arrow horde-icon-arrow-subnavi"  
> id="anonymous_element_5"></div>
> </div>
>
>
> gets rid of the extra 3 pixels.

Ah, Mac users! ;-) These are really LFs, so I thought you really  
noticed some CR among those.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the dev mailing list