fix(map): move fullscreen button outside feed-map div, top-right corner
MapLibre's attribution button occupies bottom-right of the container. Moving our button out of the map div avoids MapLibre's DOM entirely, and top-right is clear of all default MapLibre controls. Position anchor moves to feed-map-wrap (position:relative). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr
This commit is contained in:
@@ -645,6 +645,7 @@ body::after {
|
||||
/* ── Mini-map on tracker feed ────────────────────────────────────────────────── */
|
||||
|
||||
.feed-map-wrap {
|
||||
position: relative;
|
||||
margin-bottom: var(--space-10);
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
@@ -653,7 +654,6 @@ body::after {
|
||||
}
|
||||
|
||||
.feed-map {
|
||||
position: relative;
|
||||
height: 240px;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -664,7 +664,7 @@ body::after {
|
||||
|
||||
.feed-map-fullscreen-btn {
|
||||
position: absolute;
|
||||
bottom: var(--space-2);
|
||||
top: var(--space-2);
|
||||
right: var(--space-2);
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
|
||||
Reference in New Issue
Block a user