fix: projects.html style

This commit is contained in:
st1020 2023-10-24 21:20:30 +08:00
parent cfdf51c44b
commit 311f6d2b47
2 changed files with 19 additions and 25 deletions

View file

@ -1282,10 +1282,6 @@ body {
height: 100%;
}
.min-h-\[12rem\] {
min-height: 12rem;
}
.min-h-\[3\.5rem\] {
min-height: 3.5rem;
}

View file

@ -6,8 +6,7 @@
<h1 class="mb-16">{{ page.title }}</h1>
{% for project in data.project %}
<div class="not-prose min-h-[12rem] w-full py-2">
<div class="block-bg flex h-full w-full flex-col rounded-lg px-5 py-1.5">
<div class="not-prose block-bg my-4 flex w-full flex-col rounded-lg px-5 py-1.5">
<h3 class="my-2 text-xl font-bold text-black dark:text-white">{{ project.name }}</h3>
<p>{{ project.desc }}</p>
<div class="my-2 flex items-center justify-between">
@ -28,7 +27,6 @@
{% endfor %}
</div>
</div>
</div>
</div>
{% endfor %}<!---->