Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Change order in source.
  • Loading branch information
mtias committed Jan 4, 2018
commit 35815711d45616c8f899649d261fbfdd4366a63f
8 changes: 4 additions & 4 deletions editor/components/table-of-contents/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@ function TableOfContents( { blocks } ) {
renderContent={ () => ( [
<div key="counts" className="table-of-contents__counts">
<div className="table-of-contents__count">
<WordCount />
{ __( 'Words' ) }
<WordCount />
</div>
<div className="table-of-contents__count">
<span className="table-of-contents__number">{ headings.length }</span>
{ __( 'Headings' ) }
<span className="table-of-contents__number">{ headings.length }</span>
</div>
<div className="table-of-contents__count">
<span className="table-of-contents__number">{ paragraphs.length }</span>
{ __( 'Paragraphs' ) }
<span className="table-of-contents__number">{ paragraphs.length }</span>
</div>
<div className="table-of-contents__count">
<span className="table-of-contents__number">{ blocks.length }</span>
{ __( 'Blocks' ) }
<span className="table-of-contents__number">{ blocks.length }</span>
</div>
</div>,
headings.length > 0 && (
Expand Down
1 change: 0 additions & 1 deletion editor/components/table-of-contents/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
font-weight: 400;
line-height: 30px;
color: $dark-gray-500;
order: 2;
}

.table-of-contents__title {
Expand Down