Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#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.
Comment | File | Size | Author |
---|---|---|---|
#8 | image-style.png | 105.05 KB | rteijeiro |
#7 | form-elements-narrow-width-1879798-7.patch | 385 bytes | echoz |
#4 | form-elements-narrow-width-1879798-4.patch | 643 bytes | echoz |
#1 | input-form-number.png | 58.28 KB | echoz |
#5 | form-number1_before.png | 18.12 KB | echoz |
Comments
Comment #1
echoz CreditAttribution: echoz commentedProposed resolution, add:
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?
Comment #2
Shyamala CreditAttribution: Shyamala commentedThe 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.
Comment #3
andypostPHP imagerotate has 3rd parameter about transparency, suppose we should discuss a default value
Comment #4
echoz CreditAttribution: echoz commented@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.
Comment #5
echoz CreditAttribution: echoz commentedScreenshots showing .form-number and .form-select changes in #4 patch.
Comment #6
echoz CreditAttribution: echoz commentedComment #7
echoz CreditAttribution: echoz commentedRerolling to only address .form-number, following patching guidelines for single change request.
Plus clearer issue title. Sorry for the noise.
Comment #8
rteijeiro CreditAttribution: rteijeiro commentedHi 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 :)
Comment #9
echoz CreditAttribution: echoz commented#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).
Comment #10
rteijeiro CreditAttribution: rteijeiro commentedThanks 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.
Comment #11
echoz CreditAttribution: echoz commented#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).
Comment #12
rteijeiro CreditAttribution: rteijeiro commentedAll 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.
Comment #13
Dries CreditAttribution: Dries commentedGood catch. Committed!