プロジェクト

全般

プロフィール

Vote #64956

完了

Patch for layout/base.rthml

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2009/03/26
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
6
issue_org_id:
3053
author_id:
3911
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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

Admin Redmine さんが3年以上前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0