Patch #3053

Patch for layout/base.rthml

Added by J Cayetano Delgado over 8 years ago. Updated over 8 years ago.

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

0%

Category:UI
Target version:0.9.0

Description

In our theme we are using a background image on the .box class:

.box{
padding:6px;
margin-bottom: 10px;
background-color:#f6f6f6;
color:#505050;
line-height:1.5em;
border: 1px solid #e4e4e4;
background-image:url(bg_menu.png);
border:1px solid #c0c0c0;
}

In Internet Explorer it shows ok, but in Firefox and Konqueror the layers are over the main content div, to solve this is needed to add the following div:

<div style="clear:both;"></div>

at the end of the content layer.

Added a patch for r2633 that solves it.

Application's environment:

Ruby version              1.8.5 (i386-linux)
RubyGems version          1.3.1
Rails version             2.1.2
Active Record version     2.1.2
Action Pack version       2.1.2
Active Resource version   2.1.2
Action Mailer version     2.1.2
Active Support version    2.1.2
Edge Rails revision       unknown
Application root          /opt/redmine-0.8.2
Environment               development
Database adapter          mysql

redmine_mainpage-issue.png - main page issue (132 KB) J Cayetano Delgado, 2009-03-26 11:32

redmine_mainpage-solved.png - main page solved (133 KB) J Cayetano Delgado, 2009-03-26 11:32

redmine_project_show-issue.png - project show issue (90.2 KB) J Cayetano Delgado, 2009-03-26 11:32

redmine_project_show-solved.png - project show solved (83.2 KB) J Cayetano Delgado, 2009-03-26 11:32

redmine-layout-base.patch Magnifier - patch for base.rhtml (397 Bytes) J Cayetano Delgado, 2009-03-26 11:32

redmine_div_issue.png - div issue (180 KB) Mike D. Smith, 2009-03-28 07:45


Related issues

Related to Redmine - Defect #2760: User activity overflows content div Closed 2009-02-16
Related to Redmine - Defect #3583: Lack of element + clear at the base of the views causes s... Closed 2009-07-03

Associated revisions

Revision 2639
Added by Jean-Philippe Lang over 8 years ago

Fixes content vertical overflow (#3053).

History

#1 Updated by Mike D. Smith over 8 years ago

I've seen the same issue with divs on the account/show page. You can also solve this by creating a custom theme and modifying the #content CSS. For example, create REDMINE_ROOT/public/themes/mytheme/stylesheets/application.css and add the following:

#content {
    overflow: auto;
}

Seems to work for Firefox and IE but I haven't tested on other browsers.

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

  • Status changed from New to Closed
  • Target version set to 0.9.0

Patch applied in r2639. Thanks.

Also available in: Atom PDF