Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#8271 closed enhancement (invalid)

2.7-QuickPress: Submit button bar needs top/bottom padding

Reported by: kpdesign's profile kpdesign Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: UI Keywords: quickpress, has-patch, needs testing
Focuses: Cc:

Description

Currently, the blue bar below the tags field in QuickPress has no top/bottom padding; as a result, it hugs the top and bottom of the buttons in that bar (see attached screenshot). This is inconsistent with how other similar areas of the WP admin appear.

I've attached a patch file that will fix this and adds a bit of right margin for the Publish button to pull it into the blue bar, rather than hugging the right side.

Attachments (2)

dashboard-quickpress-button-css-fix.patch (517 bytes) - added by kpdesign 15 years ago.
CSS fix
wp2.7-dashboard-quickpress-buttons.png (5.5 KB) - added by kpdesign 15 years ago.
QuickPress button bar

Download all attachments as: .zip

Change History (7)

@kpdesign
15 years ago

QuickPress button bar

#1 @jick
15 years ago

Are you sure you have the latest revision from the svn? I just double-checked my files to make sure I have the latest and I do. In my version that blue bar is not there. Well, at least the background color there isn't blue. I think they removed the background color there.

#2 @kpdesign
15 years ago

That screenshot was done on 2.7-rev9750.

I've just checked the trunk, and colors-fresh.css (rev9746) and colors-classic.css (rev9721, lines 1308-1310) still have a blue background for .submit:

1309 	#major-publishing-actions, #dashboard_quick_press .submit {
1310 	        background: #eaf2fa;
1311 	}

That's what is causing the blue bar behind the buttons in the QuickPress section.

#3 @kpdesign
15 years ago

I just grabbed the latest from SVN and uploaded and the blue bar is still there.

TBH, I prefer that area without the blue background color, and if that's what the devs prefer, then they need to edit the colors-*.css files to remove #dashboard_quick_press .submit on the lines that I referenced in my post above rather than implementing the code from my patch.

#4 @ryan
15 years ago

  • Component changed from Administration to UI
  • Owner anonymous deleted

#5 @azaozz
15 years ago

  • Milestone 2.7 deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 2.7 deleted

Background color has been removed there.

Note: See TracTickets for help on using tickets.