プロジェクト

全般

プロフィール

Vote #80909

完了

File selection buttons are not fully displayed with Google Chrome in some language

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

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

0%

予定工数:
category_id:
10
version_id:
162
issue_org_id:
33563
author_id:
332
assigned_to_id:
332
comments:
10
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
127
ステータス-->[Closed]

説明

The bottom part of file upload buttons is cropped if you use the latest version of Google Chrome in some language mode such as Japanese and Chinese. Attached a patch that fixes the issue.

Current:
Look at the "选择文件" (Choose Files) button. The bottom border is not displayed.
!{border: 1px solid #ccc; width: 403px;}chrome-zh-before.png!

After applying the patch:
!{border: 1px solid #ccc; width: 403px;}chrome-zh-after.png!


journals

--------------------------------------------------------------------------------
Setting the target version to 4.1.2.
--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
r19815 caused issue #33723.

It should be reverted to fix #33723 and the following patch should be committed instead. See #33723#note-8 for the detail.

<pre><code class="diff">
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 891faf69a..a5fa24da5 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -479,7 +479,7 @@ select {
background-position: calc(100% - 7px) 50%;
padding-right: 20px;
}
-input[type="file"] {border: 0; padding-left: 0; padding-right: 0; background-color: initial; }
+input[type="file"] {border: 0; padding-left: 0; padding-right: 0; height: initial; background-color: initial; }
input[type="submit"], button[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
</code></pre>
--------------------------------------------------------------------------------
Go MAEDA wrote:
> r19815 caused issue #33723.
>
> It should be reverted to fix #33723 and the following patch should be committed instead. See #33723#note-8 for the detail.
>
> [...]

Committed the fix in r20031.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,33723,File name is displayed over the clip icon in new/edit forms
duplicates,Closed,34650,Button browse fix

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

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

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

いいね!0
いいね!0