Vote #64956
完了Patch for layout/base.rthml
0%
説明
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:
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
journals
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:
<pre><code class="xml">
#content {
overflow: auto;
}
</pre>
Seems to work for Firefox and IE but I haven't tested on other browsers.
--------------------------------------------------------------------------------
Patch applied in r2639. Thanks.
--------------------------------------------------------------------------------
related_issues
relates,Closed,2760,User activity overflows content div
relates,Closed,3583,Lack of element + clear at the base of the views causes some themes to display oddly in Firefox