Problem/Motivation
Using Drupal 8.9 in mobile, in the view settings page, the Save and the Cancel buttons are closer than they should be.
Steps to reproduce
- Create a view from a mobile device
- Find the Save and Cancel buttons in the views setting page
Proposed resolution
There should be some gap between those buttons.
| Comment | File | Size | Author |
|---|---|---|---|
| #43 | 70251da45e8231e5d94ad7e29686e9ab83f3a558.png | 15.92 KB | avpaderno |
| #32 | 3201325-32.patch | 456 bytes | djsagar |
| #29 | After Patch 3201325 Android up.png | 269.31 KB | chetanbharambe |
| #29 | After Patch 3201325 iPhone up.png | 269.63 KB | chetanbharambe |
| #29 | Before Patch 3201325 iPhone up.png | 281.15 KB | chetanbharambe |
Issue fork seven-3201325
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bhumikavarshney commentedI have created a patch regarding this issue.
Please review
Comment #3
abhijith s commentedFixed custom commands fail issue in patch #1.
Comment #4
indrajithkb commentedComment #5
indrajithkb commentedHI @Abhijith S thanks for the patch, i have applied the patch successfully and it's working as expected. Attaching the screenshot before and after the patch applied.
Before patch
After Patch
Adding RTBC +1
Comment #6
indrajithkb commentedComment #7
adalbertov commentedHello people, i have reviewed the patch #3 has well. The changes seemed ok for me, and the patch worked too so I'm moving the issue to RTBC. (Also adding the print of before and after the patch)
Comment #9
indrajithkb commentedComment #10
Madhu kumar commentedPatch #3 is applied cleanly and working as expected , but there is one more issue where the page title is too long it will go out of the screen. sharing screenshot for reference.
Comment #11
bhumikavarshney commentedComment #12
gauravvvv commentedRerolled patch #11.
Needs review.
Comment #13
gauravvvv commentedComment #14
djsagar commentedAfter patch 3201325-12.patch applied cleanly and working as expected, but there is one more issue which i found, top and bottom space is not not equal as it before for more info please check the attachment.
There is also "Unexpected missing end-of-source newline" issue on this patch.
And interdiff is also missing.
Thanks!
Comment #15
djsagar commentedI re-uploading the patch with interdiff and also it's resolved issue which i mentioned on comment #15.
Please review.
Thanks!
Comment #16
tanmaykadam commentedComment #17
tanmaykadam commentedBefore applying the patch

After applying the patch

Verified and tested patch #21.
Patch applied successfully and looks good to me.
Testing steps:
# Goto: /admin/structure/views/view/block_content
# View buttons save and cancel for the mobile device should not stick to each other.
Looks good to me.
Please refer attached screenshots for Before and After patch.
Comment #18
tanmaykadam commentedComment #19
lauriiiCan we tidy up the patch to only change the necessary parts to fix the bug?
Comment #20
tanmaykadam commented@lauriii
Considering comment #19
I have updated the patch.
Please review the patch.
Comment #21
tanmaykadam commentedComment #22
chetanbharambe commentedComment #23
chetanbharambe commentedVerified and tested patch #20.
Patch applied successfully and looks good to me.
Testing Steps:
# Go to any Responsiveness device.
# Goto: admin/structure/views/view/content
# Check Save and Cancel button
Expected Results:
# After Applying Patch, the User should see the Margin between Save and Cancel button.
Actual Results:
# Before Applying Patch, the User is able to see Save and Cancel buttons getting too Close.
Looks good to me.
Can be a move to RTBC.
Comment #24
chetanbharambe commentedComment #27
catchRestoring status after HEAD was broken.
Comment #28
rinku jacob 13 commentedVerified and tested patch#20 on the drupal 9.3.x-dev version. Patch applied successfully and looks good to me.Adding screenshot for the reference.
Comment #29
chetanbharambe commentedVerified and tested patch #20.
Patch applied successfully and looks good to me.
Testing Steps:
# Go to any Responsiveness device.
# Goto: admin/structure/views/view/content
# Check Save and Cancel button
Expected Results:
# After Applying Patch, the User should see the Margin between Save and Cancel button.
Actual Results:
# Before Applying Patch, the User is able to see Save and Cancel buttons getting too Close.
Looks good to me.
Can be a move to RTBC.
Comment #31
quietone commentedThe patch in this issue is for 9.2.x and there are failing tests, it needs to be updated to 9.4.x.
@chetanbharambe, it helps reviewers if the before and after screenshots are included in the IS, a link to the file is fine. Check before posting screenshots, you have posted two sets on the same patch #20.
Comment #32
djsagar commentedRerolled patch #20.
Comment #35
longwaveThe Seven theme has been removed from Drupal 10 core. I confirmed that this issue only affects Seven and no other themes included with Drupal core, so I am moving this to the contributed Seven project.
Comment #36
avpadernoComment #37
avpadernoComment #38
avpadernoThe patches are for Drupal core.
Comment #41
immaculatexavier commentedComment #42
avpadernoComment #43
avpadernoComment #45
avpadernoComment #47
avpadernoComment #48
avpaderno