Opened 7 years ago
Closed 6 years ago
#42596 closed enhancement (fixed)
Remove extra space in menus post body content
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.2 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Menus | Keywords: | has-patch commit |
Focuses: | ui, administration | Cc: |
Description
Attachments (17)
Change History (35)
#4
@
7 years ago
@Shital Patel thanks for the ticket and welcome to trac!
@Hardik Amipara thank you for the patches! Typically patches are generated from the root of the repository ( at the same level that contains the /src
directory ). I have taken the liberty of regenerating the patch from there.
Also, I did some tests with the patch and found that when the following rule is applied:
.nav-menus-php #post-body #post-body-content{ margin-bottom: 0px; }
We are losing the padding below the Menu Settings
I had refactored the patch slightly to accommodate.
#6
@
7 years ago
- Keywords needs-refresh added; has-patch removed
@Hardik Amipara can you please regenerate the patch from the repository root? Have a look at the patch I uploaded for reference.
#8
follow-up:
↓ 9
@
7 years ago
@Hardik Amipara it still looks to be the same - how are you generating the patch?
#9
in reply to:
↑ 8
@
7 years ago
Replying to welcher:
By using svn. This is my 1st contribution. So let me know if any changes.
#10
follow-up:
↓ 11
@
7 years ago
@Hardik Amipara thanks for your contributions on this!
The code is great, the issue where the patch is being generated from. Are you using command line?
If so, please move up to the root level ( see the screenshot attached ) and then run the svn diff
command from there.
The patch that is generated will be the same code but will be able to be applied from the root. You can see that it is correct by viewing the patch to confirm that there is a full path to the file src/wp-admin/css/nav-menus.css
instead of nav-menus.css
Don't get discouraged, you're doing great and there is always a learning curve with contributing to core :)
Remove Space In Menu Text