Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit d5862bf

Browse files
committed
Koenig - Remove reading time display
refs TryGhost/Ghost#9724 - removed reading time from word count display, it will be added back later as part of a more comprehensive stats interface - added background to the bottom right word count so it's still visible when above a full-width image
1 parent 0b9aad8 commit d5862bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/templates/editor.hbs

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{{!-- editor.headerClass is only set on small screens with opaque tpo bar --}}
1818
{{#if (and editor.headerClass wordCount)}}
1919
<span class="pl3 f-small midgrey">
20-
{{wordCount.readingTime}} ({{pluralize wordCount.wordCount "word"}})
20+
{{pluralize wordCount.wordCount "word"}}
2121
</span>
2222
{{/if}}
2323
</div>
@@ -188,9 +188,9 @@
188188

189189
{{#unless editor.headerClass}}
190190
{{#if wordCount}}
191-
<div class="absolute right-8 bottom-6">
192-
<span class="pl3 f-small midgrey">
193-
{{wordCount.readingTime}} ({{pluralize wordCount.wordCount "word"}})
191+
<div class="absolute right-6 bottom-4 pa1 pl4 pr4 br3 bg-white-90">
192+
<span class="f-small midgrey">
193+
{{pluralize wordCount.wordCount "word"}}
194194
</span>
195195
</div>
196196
{{/if}}

0 commit comments

Comments
 (0)