fixed styling
This commit is contained in:
parent
af6decdc5f
commit
cb7a6fa891
3 changed files with 4 additions and 9 deletions
|
|
@ -17,12 +17,6 @@ const { posts } = Astro.props;
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 64px;
|
gap: 64px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen ans (max-width: 800px) {
|
|
||||||
.post-grid {
|
|
||||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
export function formatLocalizedDateString(date: Date): string {
|
export function formatLocalizedDateString(date: Date): string {
|
||||||
return date.toLocaleDateString('de-DE')
|
var options: Intl.DateTimeFormatOptions = { weekday: undefined, year: '2-digit', month: '2-digit', day: '2-digit' };
|
||||||
|
return date.toLocaleDateString('de-DE', options)
|
||||||
}
|
}
|
||||||
|
|
@ -30,7 +30,7 @@ body {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
min-width: 380px;
|
min-width: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue