🥚 refactor: show word count as reading time tooltip

This commit is contained in:
welpo
2023-02-21 14:51:02 +01:00
parent d9cd64e5a4
commit 9ed4034260
2 changed files with 8 additions and 3 deletions

View File

@@ -127,3 +127,9 @@ table tbody tr:nth-child(even) {
.meta span::before {
content: attr(reading-time);
}
.meta span.reading-time span.word-count {
display: inline-block;
position: relative;
width: 61em; /* adjust this value as needed */
}