Project

General

Profile

Actions

Defect #5008

closed

Gravatar breaks layout of "logged in" page

Added by Henrik Ammer about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
Start date:
2010-03-08
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When you enable gravatar on the website it breaks the "logged in as USERNAME" page since there is no clearing after the h2 tag inside the div id="content".

In the CSS you could add the following code:

#content h2:after{
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

but it will only be supported in the later browsers (and will make the change on all pages, not just the logged in as one). Other places in the code you've added empty divs with the clear:both applied to its style attribute so might be needed here aswell.

Now why you ask yourself? The following divs with the splitcontentleft and splitcontentright classes uses up 49% each of the space and since img.gravatar floats to the left it makes the splitcontentright appear below the splitcontentleft.

I really hope you all understand me cuz I'm down with a flu and my brain ain't working at top speed. I'll see if I find the rhtml file and I might even add a patch for it. :)


Files

clear_both_user_show.diff (358 Bytes) clear_both_user_show.diff Henrik Ammer, 2010-03-09 10:40
gravatar_on_issue.png (23.8 KB) gravatar_on_issue.png Henrik Ammer, 2010-03-23 12:20

Related issues

Has duplicate Redmine - Defect #4597: Display weirdness in users/show.rhtml in gravatars are enabledClosed2010-01-17

Actions
Actions

Also available in: Atom PDF