Make map fullscreen behind transparent navbar
All checks were successful
Build Docker Image / build (push) Successful in 3m14s
All checks were successful
Build Docker Image / build (push) Successful in 3m14s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="flex flex-col flex-1 min-h-0 relative">
|
||||
<div class="fixed inset-0 flex flex-col">
|
||||
<!-- Loading state -->
|
||||
<div v-if="loading" class="absolute inset-0 z-50 flex items-center justify-center bg-base-100/80">
|
||||
<Card padding="lg">
|
||||
@@ -28,8 +28,8 @@
|
||||
</ClientOnly>
|
||||
</div>
|
||||
|
||||
<!-- View toggle (top RIGHT overlay) - works in both modes -->
|
||||
<div class="absolute top-4 right-4 z-20 hidden lg:block">
|
||||
<!-- View toggle (top RIGHT overlay, below header) - works in both modes -->
|
||||
<div class="absolute top-[116px] right-4 z-20 hidden lg:block">
|
||||
<div class="flex gap-1 bg-black/30 backdrop-blur-md rounded-lg p-1 border border-white/10">
|
||||
<button
|
||||
class="flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium transition-colors"
|
||||
@@ -64,10 +64,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Left overlay panel (shown when showPanel is true) -->
|
||||
<!-- Left overlay panel (shown when showPanel is true, below header) -->
|
||||
<div
|
||||
v-if="showPanel"
|
||||
class="absolute top-4 left-4 bottom-4 z-10 w-96 max-w-[calc(100vw-2rem)] hidden lg:block"
|
||||
class="absolute top-[116px] left-4 bottom-4 z-10 w-96 max-w-[calc(100vw-2rem)] hidden lg:block"
|
||||
>
|
||||
<div class="bg-black/30 backdrop-blur-md rounded-xl shadow-lg border border-white/10 p-4 h-full overflow-y-auto text-white">
|
||||
<slot name="panel" />
|
||||
|
||||
Reference in New Issue
Block a user