Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Commit

Permalink
Prevent missing table styling on new posts
Browse files Browse the repository at this point in the history
The body class is different for new posts and so CMB tables are missing some minor styling.
  • Loading branch information
mustardBees committed Jan 30, 2014
1 parent 39da505 commit fa69209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ table.cmb_metabox tr:first-of-type td, table.cmb_metabox tr:first-of-type th {
border:0;
}

.post-php table.cmb_metabox td, .post-php table.cmb_metabox th {
.post-php table.cmb_metabox td, .post-new-php table.cmb_metabox td, .post-php table.cmb_metabox th, .post-new-php table.cmb_metabox th {
border-top: 1px solid #E9E9E9;
}

.post-php table.cmb_metabox th {
.post-php table.cmb_metabox th, .post-new-php table.cmb_metabox th {
text-align: right;
font-weight:bold
}
Expand Down

2 comments on commit fa69209

@jtsternberg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Care to submit a PR to trunk?

@jtsternberg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bah, nevermind.. this is already in. I swear I'm not drunk.

Please sign in to comment.