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.
Meta Issue:#1870944: [Meta] Mobile friendly admin pages
Problem/Motivation
The help topics overlapping in NARROW screens
Admin url: admin/help
Proposed resolution
To be determined.
Remaining tasks
To be determined.
Comment | File | Size | Author |
---|---|---|---|
#16 | help_overlapping-1887008-16.patch | 413 bytes | jayboodhun |
#10 | help_overlapping-1887008-10.patch | 420 bytes | jayboodhun |
#7 | help_overlapping-1887008-7.patch | 418 bytes | jayboodhun |
#5 | help_overlapping-1887008-5.patch | 429 bytes | jayboodhun |
#3 | help.png | 60.84 KB | rteijeiro |
Comments
Comment #1
jayboodhun CreditAttribution: jayboodhun commentedHi,
I have added css to take care of the display on smaller viewport with media queries.
The CSS displays the block as 100% wide and clears the float.
So there is no float left anymore on smaller screens. Instead the blocks drop below with a margin top of 20px to separate them.
Please check the patch.
Regards
Jay
Comment #2
jayboodhun CreditAttribution: jayboodhun commentedPlease can you review the patch
Comment #3
rteijeiro CreditAttribution: rteijeiro commentedHi, I have tested the patch and everything looks okay as the attached image shows.
I think it should be considered as RTBC ;)
Comment #4
webchickOh that is much more nicerer. :)
Just a tiny nit, but we need spaces between the : and the thing after it, per the CSS coding standards. Looks like the indentation might be off too.
Feel free to mark back to RTBC once those minor things are fixed.
Comment #5
jayboodhun CreditAttribution: jayboodhun commentedPlease find attached the revised patch with the css and identation fix
Comment #6
echoz CreditAttribution: echoz commentedMore nit picking :-)
Comment formatting:
The comment itself:
"Display on a narrow viewport to avoid text overlapping."
I read "Display" as a verb. It's more clear as something like:
"Avoid text overlapping on a narrow viewport."
Comment #7
jayboodhun CreditAttribution: jayboodhun commentedHi Echoz,
Thanks for correcting. Agree the documentation line you suggested looks better.
Please find attached the revised.
Comment #8
echoz CreditAttribution: echoz commentedThe comment formatting was correct in the first patch, the second patch you lost the left space on the second and third lines. This wasn't corrected in the third patch. See code example in #6.
Comment #9
rteijeiro CreditAttribution: rteijeiro commentedNeeds indentation on the second comment as echoz suggested.
Comment #10
jayboodhun CreditAttribution: jayboodhun commentedSorry, I have fixed that now
Comment #11
rteijeiro CreditAttribution: rteijeiro commentedOkay, I think it's right now :)
I also think that you should not mark the issue as RTBC, someone else must do it ;)
Comment #12
jayboodhun CreditAttribution: jayboodhun commentedThanks for the help :)
Comment #13
jayboodhun CreditAttribution: jayboodhun commentedComment #14
rteijeiro CreditAttribution: rteijeiro commentedMaybe now? :)
Comment #15
echoz CreditAttribution: echoz commentedSorry to not have brought this up in the beginning, but why are we putting a space between these groups (margin-top: 20px;)? It can just appear as one list, there is no benefit to separating in groups. We would not want more space at the very top anyway. I would have it margin: 0; and that will also take care of the right 3% margin (or left in the rtl file) in case this would actually case a horizontal scrollbar in some rare mobile browser.
Comment #16
jayboodhun CreditAttribution: jayboodhun commentedHi Echoz,
I have set it to margin:0; as per your suggestion and it looks fine as well
Comment #17
jayboodhun CreditAttribution: jayboodhun commentedComment #18
rteijeiro CreditAttribution: rteijeiro commentedOk, the #16 patch seems to solve the issue.
Great work!
Comment #19
echoz CreditAttribution: echoz commented@jayboodhun, ok!
Comment #20
jayboodhun CreditAttribution: jayboodhun commentedThanks guys
Comment #21
webchickCommitted and pushed to 8.x. Thanks!