fix cards
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fontsource/fira-mono": "^4.5.10",
|
"@fontsource/fira-mono": "^4.5.10",
|
||||||
"@neoconfetti/svelte": "^1.0.0",
|
"svelte-particles": "2.9.3",
|
||||||
"@sveltejs/adapter-auto": "^1.0.0",
|
"@sveltejs/adapter-auto": "^1.0.0",
|
||||||
"@sveltejs/adapter-node": "^1.0.0",
|
"@sveltejs/adapter-node": "^1.0.0",
|
||||||
"@sveltejs/adapter-static": "^1.0.0",
|
"@sveltejs/adapter-static": "^1.0.0",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<a href={data.path}>
|
<a href={data.path}>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
{#if data.image }
|
{#if data.image }
|
||||||
<img src="{data.image}" class="image" alt={''} />
|
<img src="{data.image}" class="image" alt='' />
|
||||||
{/if}
|
{/if}
|
||||||
<h2>{data.title}</h2>
|
<h2>{data.title}</h2>
|
||||||
{#if data.description}
|
{#if data.description}
|
||||||
@@ -49,6 +49,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags {
|
.tags {
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
.project_list {
|
.project_list {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||||
|
grid-auto-rows: minmax(300px, 1fr);
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -6,5 +6,5 @@ tags:
|
|||||||
- web
|
- web
|
||||||
- php
|
- php
|
||||||
- laravel
|
- laravel
|
||||||
image: /img/can7.png
|
image: /img/net7.png
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user