feat: Centred the filtering bar in the main page.

Co-Authored By: Caspar Asaam <caspar@dyn3159-95.wlan.ic.ac.uk>
This commit is contained in:
TadiosT
2025-06-10 15:00:12 +01:00
parent 61da21b7db
commit 5eb7a9f58c

View File

@@ -58,6 +58,7 @@
</Navbar>
<main>
<div class="tag-filter-container">
<TagFilter
{selectedTags}
{tagFilter}
@@ -67,6 +68,7 @@
{deleteTag}
{addTag}
/>
</div>
{#each filteredStudySpaces() as studySpace (studySpace.id)}
{@const imgUrl =
@@ -100,6 +102,13 @@
transform: rotate(45deg);
}
.tag-filter-container {
grid-column: 1 / -1;
display: flex;
justify-content: center;
margin-bottom: 1rem;
}
@media (max-width: 20rem) {
main {
grid-template-columns: 1fr;