blog post container is now mobile responsive; tags now wrap on narrow screens

This commit is contained in:
2026-03-31 15:53:57 +02:00
parent 4641d2357a
commit 0c403c82e7
2 changed files with 16 additions and 4 deletions

View File

@@ -69,7 +69,6 @@
} }
.entry-text-container { .entry-text-container {
/* padding: 0 4px 4px ; */
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: 16px; margin-top: 16px;
@@ -97,6 +96,18 @@
gap: 4px; gap: 4px;
margin-top: 4px; margin-top: 4px;
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: wrap;
}
@media screen and (max-width: 900px) {
.entry-container {
grid-template-columns: 1fr 1fr;
}
}
@media screen and (max-width: 600px) {
.entry-container {
grid-template-columns: 1fr;
}
} }
</style> </style>

View File

@@ -49,8 +49,9 @@
<style> <style>
.tag-filter-container { .tag-filter-container {
display: flex; display: flex;
gap: 12px; gap: 8px 12px;
margin-bottom: 8px; margin: 0 10px 8px;
flex-wrap: wrap;
} }
.tag-filter { .tag-filter {