Closed (duplicate)
Project:
Drupal core
Version:
8.9.x-dev
Component:
CSS
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2020 at 09:41 UTC
Updated:
23 Jun 2020 at 06:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vani.s commentedHi,
I made a patch for this. Please check and tell me as works fine to commit.
Thanks!!
Comment #3
vani.s commentedComment #4
himanshu_sindhwani commentedThe patch is failing the test cases and additionally, it should be made against the latest dev branch for bugs which is 8.9.x.
Comment #5
himanshu_sindhwani commentedHere is a patch which fixes the issue.
Comment #6
himanshu_sindhwani commentedComment #7
sharma.amitt16 commentedCan 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.
Comment #8
sharma.amitt16 commentedAdded test for 9.1.x in #5 and the status is passed.
Comment #9
priyanka.sahni commentedComment #10
priyanka.sahni commentedVerified 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 8.9 Iphone 6/7/8 -

After 8.9 Iphone 6/7/8 Plus-

After 8.9 Iphone X-

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

After 9.1.x Iphone 6/7/8 -

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

After 9.1.x Iphone X-

Comment #11
priyanka.sahni commentedComment #12
hansa11 commentedPatch #5 applies well for me on Drupal 9.1.x.
Comment #13
lauriiiThank 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:

Comment #14
himanshu_sindhwani commented