Added achievement data

This commit is contained in:
2026-04-29 18:22:49 +10:00
parent b94b1d8ec2
commit 7e3af37a46
3 changed files with 33 additions and 1 deletions
@@ -551,6 +551,14 @@ export default defineComponent({
justify-content: center; justify-content: center;
} }
@media (max-width: 768px) {
.flight-map-wrapper {
width: 100%;
aspect-ratio: 7/10;
}
}
.map-container { .map-container {
position: absolute; position: absolute;
inset: 0; inset: 0;
@@ -118,4 +118,29 @@ function navigateTo(view: ProfileView) {
.view-btn-label { .view-btn-label {
text-transform: uppercase; text-transform: uppercase;
} }
/* ── Mobile: 2×2 grid ── */
@media (max-width: 600px) {
.view-toolbar {
display: grid;
grid-template-columns: 1fr 1fr;
width: 100%;
}
.view-btn {
border-right: 1px solid rgba(255,193,7,0.15);
border-bottom: 1px solid rgba(255,193,7,0.15);
justify-content: center;
}
/* Remove right border on even buttons (right column) */
.view-btn:nth-child(2n) {
border-right: none;
}
/* Remove bottom border on last row */
.view-btn:nth-last-child(-n+2) {
border-bottom: none;
}
}
</style> </style>
-1
View File
@@ -33,7 +33,6 @@ async function dismissToast(notification: Notification) {
await axios.patch(`/notifications/${notification.id}/read`) await axios.patch(`/notifications/${notification.id}/read`)
} }
console.log(page.achievement_notifications)
watch( watch(
() => page.achievement_notifications, () => page.achievement_notifications,
handleNewNotifications, handleNewNotifications,