feat: add rounded for img

This commit is contained in:
st1020 2024-08-01 21:04:44 +08:00
parent 00975551af
commit 3b5c65b510
6 changed files with 21 additions and 3 deletions

View file

@ -6,7 +6,7 @@
{% include "partials/header.html" %}
<main
class="prose prose-neutral relative mx-auto min-h-[calc(100%-9rem)] max-w-3xl break-words px-4 pb-16 pt-32 dark:prose-invert prose-pre:rounded-lg"
class="prose prose-neutral relative mx-auto min-h-[calc(100%-9rem)] max-w-3xl break-words px-4 pb-16 pt-32 dark:prose-invert prose-pre:rounded-lg prose-img:rounded-lg"
>
{% block main %}

View file

@ -2,7 +2,7 @@
<div class="mb-16 flex items-start">
{% if config.extra.profile.avatar_url %}
<div
class="mr-5 shrink-0 rounded-full border-[0.5px] border-black/10 bg-white/50 p-3 shadow dark:bg-white/[15%]"
class="not-prose mr-5 shrink-0 rounded-full border-[0.5px] border-black/10 bg-white/50 p-3 shadow dark:bg-white/[15%]"
>
<img
class="{% if config.extra.profile.avatar_invert %}dark:invert{% endif %} my-0 aspect-square w-16 rounded-full !bg-black/5 hover:animate-spin"