Comments

vani.S created an issue. See original summary.

vani.s’s picture

StatusFileSize
new446 bytes

Hi,

I made a patch for this. Please check and tell me as works fine to commit.

Thanks!!

vani.s’s picture

Status: Active » Needs review
StatusFileSize
new20.88 KB
himanshu_sindhwani’s picture

Version: 8.7.x-dev » 8.9.x-dev
Assigned: Unassigned » himanshu_sindhwani
Status: Needs review » Needs work

The patch is failing the test cases and additionally, it should be made against the latest dev branch for bugs which is 8.9.x.

himanshu_sindhwani’s picture

StatusFileSize
new1.58 KB

Here is a patch which fixes the issue.

himanshu_sindhwani’s picture

Assigned: himanshu_sindhwani » Unassigned
Status: Needs work » Needs review
sharma.amitt16’s picture

Can we test the bug for 9.1x as well?

If the bug is available in 9.1.x then we should fix this for the same as well.

sharma.amitt16’s picture

Added test for 9.1.x in #5 and the status is passed.

priyanka.sahni’s picture

Assigned: Unassigned » priyanka.sahni
priyanka.sahni’s picture

Verified and tested by applying the patch #5 on Drupal 8.9 and Drupal 9.1.x.Tested on Iphone X , Iphone 6/7/8 , Iphone 6/7/8 Plus and Iphone 5S/SE.It looks good to me.Can be moved to RTBC.

Steps to test-
1. Go to admin site.
2. Go to admin/structure/types.
3. Verify on Mobile view.

Refer to the attached screenshots :

After 8.9 Iphone 5S/SE -
After Patch

After 8.9 Iphone 6/7/8 -
After Patch

After 8.9 Iphone 6/7/8 Plus-
After Patch

After 8.9 Iphone X-
After Patch

After 9.1.x -

After 9.1.x Iphone 5S/SE -
After Patch

After 9.1.x Iphone 6/7/8 -
After Patch

After 9.1.x Iphone 6/7/8 Plus-
After Patch

After 9.1.x Iphone X-
After Patch

priyanka.sahni’s picture

Assigned: priyanka.sahni » Unassigned
Status: Needs review » Reviewed & tested by the community
hansa11’s picture

Patch #5 applies well for me on Drupal 9.1.x.

lauriii’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
Related issues: +#3113840: Shortcuts icon not aligned properly in iPhone
StatusFileSize
new41.64 KB

Thank you for working on this! I think this issue can be reproduced on any device that has a small enough screen, therefore I think this is a duplicate of #3068698: Better shortcut action link styles when there's limited horizontal space.

The root cause for the problem is that there's a focus effect on the shortcut link. If we change the display to inline, the focus text could be displayed on the next row which isn't ideal: