Project

General

Profile

Actions

Defect #31693

open

Bad position for attachment file description field on mobile screens

Added by Eduard Panov over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI - Responsive
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

On mobile screens (iphone 5/se, for example) after attachment some file (in issue edit form, for example) description field cropped. Also, after entering a few characters in description field side menu starts to come out.

To fix it enough:
1. change file /public/javascripts/attachments.js line 63

From:
fileSpan.find('input.description, a').css('display', 'inline-block');
To:
fileSpan.find('input.description, a').css('display', $(window).width() < 899 ? 'block' : 'inline-block');

2. Also need add lines to /public/stylesheets/application.css

Иван Савенко screen and (max-width: 400px) {
.attachments_fields input.description, #existing-attachments input.description { width:280px; }
}


Files

No data to display

Actions

Also available in: Atom PDF