Added achievement data
This commit is contained in:
@@ -551,6 +551,14 @@ export default defineComponent({
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.flight-map-wrapper {
|
||||
width: 100%;
|
||||
aspect-ratio: 7/10;
|
||||
}
|
||||
}
|
||||
|
||||
.map-container {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
|
||||
@@ -118,4 +118,29 @@ function navigateTo(view: ProfileView) {
|
||||
.view-btn-label {
|
||||
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>
|
||||
|
||||
@@ -33,7 +33,6 @@ async function dismissToast(notification: Notification) {
|
||||
await axios.patch(`/notifications/${notification.id}/read`)
|
||||
}
|
||||
|
||||
console.log(page.achievement_notifications)
|
||||
watch(
|
||||
() => page.achievement_notifications,
|
||||
handleNewNotifications,
|
||||
|
||||
Reference in New Issue
Block a user