Project

General

Profile

Actions

Patch #3008

closed

Wrong height of content container on My Page

Added by Uwe Koloska over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-03-18
Due date:
% Done:

0%

Estimated time:

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.


Files

MyPage.png (42.6 KB) MyPage.png Uwe Koloska, 2009-03-18 23:49
mypage_clearfloat.diff (373 Bytes) mypage_clearfloat.diff Uwe Koloska, 2009-03-18 23:49
mypage_clearfloat2.diff (880 Bytes) mypage_clearfloat2.diff Uwe Koloska, 2009-03-19 23:00

Related issues

Related to Redmine - Defect #2760: User activity overflows content divClosed2009-02-16

Actions
Actions #1

Updated by Fabian Buch over 15 years ago

Actions #2

Updated by Uwe Koloska over 15 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.

Actions #3

Updated by Jean-Philippe Lang over 15 years ago

  • Status changed from New to Closed

First patch applied in r2639.

Actions

Also available in: Atom PDF