Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update readtime text #377

Merged
merged 3 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</ul>
</li>
}
<li class="read-time me-4">@BlogPost.ReadingTimeInMinutes min</li>
<li class="read-time me-4">@BlogPost.ReadingTimeInMinutes minute read</li>
</ul>
</div>
<div class="description">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ else if (BlogPost is not null)
<span class="date"></span>
<span class="ms-1">@BlogPost.UpdatedDate.ToShortDateString()</span>
</div>
<span class="read-time"></span>
<span class="me-2">@BlogPost.ReadingTimeInMinutes minute read</span>
@if (BlogPost.Tags is not null && BlogPost.Tags.Any())
{
<div class="d-flex align-items-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
object-fit: cover;
}

.read-time:before {
font-family: 'icons';
font-weight: 900;
content: "\e94f";
}

@media only screen and (max-width: 700px) {
.blog-outer-box .blog-container {
width: 90%;
Expand Down