Project

General

Profile

Actions

Patch #3053

closed

Patch for layout/base.rthml

Added by J Cayetano Delgado about 15 years ago. Updated almost 15 years ago.

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

0%

Estimated time:

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


Files

redmine_mainpage-issue.png (132 KB) redmine_mainpage-issue.png main page issue J Cayetano Delgado, 2009-03-26 11:32
redmine_mainpage-solved.png (133 KB) redmine_mainpage-solved.png main page solved J Cayetano Delgado, 2009-03-26 11:32
redmine_project_show-issue.png (90.2 KB) redmine_project_show-issue.png project show issue J Cayetano Delgado, 2009-03-26 11:32
redmine_project_show-solved.png (83.2 KB) redmine_project_show-solved.png project show solved J Cayetano Delgado, 2009-03-26 11:32
redmine-layout-base.patch (397 Bytes) redmine-layout-base.patch patch for base.rhtml J Cayetano Delgado, 2009-03-26 11:32
redmine_div_issue.png (180 KB) redmine_div_issue.png div issue Mike D. Smith, 2009-03-28 07:45

Related issues

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

Actions
Related to Redmine - Defect #3583: Lack of element + clear at the base of the views causes some themes to display oddly in FirefoxClosed2009-07-03

Actions
Actions #1

Updated by Mike D. Smith about 15 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.

Actions #2

Updated by Jean-Philippe Lang almost 15 years ago

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

Patch applied in r2639. Thanks.

Actions

Also available in: Atom PDF