Patch #3008

Wrong height of content container on My Page

Added by Uwe Koloska almost 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:2009-03-18
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Because the two columns of My Page are both configured as float in the CSS, the height of the surrounding <div> is not calculated correctly and in the default theme and all themes derived from it, given by the min-height. The effect can be seen in the attached screenshot: .

The attached path solves this by adding a <div> with a float clear:both style and was made against the current r2598 of the 0.8-stable branch.

MyPage.png (42.6 KB) Uwe Koloska, 2009-03-18 23:49

mypage_clearfloat.diff Magnifier (373 Bytes) Uwe Koloska, 2009-03-18 23:49

mypage_clearfloat2.diff Magnifier (880 Bytes) Uwe Koloska, 2009-03-19 23:00


Related issues

Related to Redmine - Defect #2760: User activity overflows content div Closed 2009-02-16

History

#1 Updated by Fabian Buch over 8 years ago

#2 Updated by Uwe Koloska over 8 years ago

Ah, yes, a very good point. And even better the link this site points to: Simple Clearing of Floats This leads to a very nice solution. Thank you!

I hope that public/stylesheets/application.css is the right place for this CSS magic.

#3 Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from New to Closed

First patch applied in r2639.

Also available in: Atom PDF