#1870944: [Meta] Mobile friendly admin pages

Problem/Motivation

Media - Image Style Edit, Add Effects - Rotate:
The Degree symbol next to the Rotation angle selection box, drops below the selection box in NARROW screens.

Admin URL: admin/config/media/image-styles/edit/%/add/image_rotate

Proposed resolution

To be determined.

Remaining tasks

To be determined.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

echoz’s picture

Status: Needs review » Active
FileSize
58.28 KB

Proposed resolution, add:

input.form-number {
  width: auto;
}

after existing css where this + other inputs are 100% for narrow viewports.
Are there any other input types that have characters to their right like this?

Shyamala’s picture

The admin/config/media/image-toolkit page has a percentage symbol which is best fixed.

More media style pages have pixels next to the select list which doesn't look odd in the second line.

andypost’s picture

PHP imagerotate has 3rd parameter about transparency, suppose we should discuss a default value

echoz’s picture

Status: Active » Needs review
FileSize
643 bytes

@Shyamala, these 2 examples in #2 are also .form-number and covered in this patch.
I also included .form-select as another form element that often has something on the right so is problematic at 100% width.
Also corrected previous indenting.

I'll follow with screenshots.

@andypost, not what this issue is about, you could open another issue.

echoz’s picture

Status: Active » Needs review
FileSize
15.73 KB
15.83 KB
6.58 KB
6.77 KB
17.79 KB
18.12 KB

Screenshots showing .form-number and .form-select changes in #4 patch.

echoz’s picture

Title: Media - Image Style Edit - Add Rotate Effect » number inputs at 100% drop suffix below on narrow screens
echoz’s picture

Title: number inputs at 100% drop suffix below on narrow screens » number input at 100% width drops suffix below on narrow screens
FileSize
385 bytes

Rerolling to only address .form-number, following patching guidelines for single change request.
Plus clearer issue title. Sorry for the noise.

rteijeiro’s picture

Status: Needs review » Needs work
FileSize
105.05 KB

Hi echoz.

I am still getting the same issue with the "Add" button as shown in the attached image.

Tested with Chrome, Firefox, Opera and Safari. Also with my iPhone :)

echoz’s picture

Status: Needs work » Needs review

#rteijeiro thanks for reviewing!
#8 is not what this patch is about. See the 1st 4 screenshots in #5, the "form-number" before and after (forget the form-select one, the last patch only is for form-number).

rteijeiro’s picture

Status: Needs review » Needs work

Thanks echoz and sorry for the mistake :)

Have applied the #4 patch and I can see the following error in Safari, Firefox and iPhone:

http://drupal.org/files/form-select_before.png

The other issues are correct in Chrome, Firefox, Safari, Opera and iPhone.

Hope it helps.

echoz’s picture

Status: Needs work » Needs review

#10 this patch is not for select form elements. It is only for form-number dropping the suffix below on narrow screens. Again, see the 1st 4 screenshots in #5, the "form-number" before and after (forget the form-select one, the last patch only is for form-number).

rteijeiro’s picture

Status: Needs review » Reviewed & tested by the community

All right. Sorry again for my mistake :)

All the form-number issues are resolved.

I think it will be considered as RTBC.

Thank you very much for your patience.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Good catch. Committed!

Automatically closed -- issue fixed for 2 weeks with no activity.