Improved about the author card

This commit is contained in:
Mia Rose Winter 2024-02-03 20:54:43 +01:00
parent 39d7a0f15a
commit 5d60c39443
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
2 changed files with 4 additions and 4 deletions

View file

@ -44,10 +44,10 @@
@if (!string.IsNullOrWhiteSpace(Article.Author.AboutTheAuthor)) {
<section class="mb-2">
<div class="card sm:card-side card-compact bg-secondary text-secondary-content rounded shadow">
<figure class="sm:max-w-40">
<img src="/api/user/pfp/@Article.Author.Id" alt="" width="800">
<figure class="shrink-0">
<img class="sm:max-h-56" src="/api/user/pfp/@Article.Author.Id" alt="" width="800">
</figure>
<div class="card-body">
<div class="card-body sm:border-l-2 border-current">
<h2 class="card-title">About The Author</h2>
<h3><strong>@Article.Author.Name</strong></h3>
<p>

File diff suppressed because one or more lines are too long