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

Commit

Permalink
If subtitles are shown in comment areas, we'll hide them by default. …
Browse files Browse the repository at this point in the history
…[skip ci]
  • Loading branch information
Philip Arthur Moore committed Jul 7, 2014
1 parent 175762c commit e1eb5f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ All versions of _Subtitles_ can be found on the [Releases](https://github.com/ph

### v1.0.5 (July 7th, 2014)

- Bug Fix: If subtitles are shown in comment areas, make sure that they are displayed inline, not block.
- Bug Fix: If subtitles are shown in comment areas, we'll hide them by default.
- Bug Fix: Better security for nonce checking after update to the WordPress VIP Coding Standards. See [this discussion](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/190) for more information.
- Extra: Wrap primary entry title parts in spans that theme authors can take advantage of for more fine-grained styling when a post has a subtitle.
- Extra: French (fr_FR) language packs added (see [issue](https://github.com/philiparthurmoore/Subtitles/pull/18)).
Expand Down
6 changes: 2 additions & 4 deletions public/assets/css/subtitles.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ span.entry-subtitle {
font-size: 0.53333333333333em; /* Sensible scaling. It's assumed that post titles will be wrapped in heading tags. */
}
/**
* If subtitles are shown in comment areas, make sure that they
* are displayed inline, not block. For example, the title
* "One Thought on {Post Title} + {Post Subtitle}" should be on one line.
* If subtitles are shown in comment areas, we'll hide them by default.
*
* @since 1.0.5
*/
#comments .comments-title span.entry-subtitle {
display: inline;
display: none;
font-size: 1em;
}

0 comments on commit e1eb5f8

Please sign in to comment.