diff --git a/web/optivum-better-schedule-frontend/src/components/Overlay.vue b/web/optivum-better-schedule-frontend/src/components/Overlay.vue
index 12f27cb..5b0938c 100644
--- a/web/optivum-better-schedule-frontend/src/components/Overlay.vue
+++ b/web/optivum-better-schedule-frontend/src/components/Overlay.vue
@@ -34,7 +34,7 @@
-
diff --git a/web/optivum-better-schedule-frontend/src/components/pages/Divisions.vue b/web/optivum-better-schedule-frontend/src/components/pages/Divisions.vue
index a1f179e..7ad2c85 100644
--- a/web/optivum-better-schedule-frontend/src/components/pages/Divisions.vue
+++ b/web/optivum-better-schedule-frontend/src/components/pages/Divisions.vue
@@ -1,9 +1,9 @@
-
+
+ variant="solo" rounded="pill" hide-details="auto" />
@@ -66,53 +66,74 @@ const filteredItems = computed(() => {
overflow: visible;
}
+:deep(.search .v-field--variant-solo) {
+ box-shadow: none !important;
+ border-color: transparent !important;
+}
+
.search-container {
width: 50%;
- margin: auto;
+ height: 64px;
+ margin: 16px auto;
display: flex;
justify-content: center;
align-items: center;
z-index: 10;
- position: fixed;
- top: 0;
- padding: 1rem;
-}
-
-.v-card {
- overflow: visible;
+ position: sticky;
+ top: 16px;
+ padding: 0 1rem;
}
.search {
width: 100%;
- max-width: 100%;
- margin: 0;
+}
+
+.v-card {
+ overflow: visible;
}
.scrollable-grid {
overflow-y: auto;
- width: 100%;
- padding: 1rem 0;
+ width: auto;
background-color: var(--v-background-base);
+ padding: 1rem;
}
.divisions-grid {
display: grid;
- grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
- gap: 1.5rem;
+ grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
+ gap: 2rem;
justify-content: center;
background-color: var(--v-background-base);
padding: 1.5rem;
- margin: 0 auto;
+ margin: 2rem 2rem 2rem;
width: auto;
- margin: 8.5rem 1.5rem 1.5rem;
}
.grid-item {
- width: 6rem;
- height: 6rem;
+ width: 7rem;
+ height: 7rem;
display: flex;
justify-content: center;
align-items: center;
aspect-ratio: 1 / 1;
}
+
+@media (max-width: 1280px) {
+ .search-container {
+ padding: 0.75rem;
+ }
+
+ .divisions-grid {
+ grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
+ gap: 2rem;
+ padding: 1rem;
+ margin: 2rem 2rem 2rem;
+ }
+
+ .grid-item {
+ width: 5rem;
+ height: 5rem;
+ }
+}
\ No newline at end of file