UPG100: the header no longer declares the Share menu's area
The shared Share menu now finds its place at open time and opens
beside its button by itself, so the header's declared area is no
longer needed (measured on the shared fix's build: 340px, beside the
button, at 1440 and 390, en and ar).
This reverts commit 6f3a45f44.
This commit is contained in:
parent
2b1f55e7cf
commit
be28255bd0
1 changed files with 1 additions and 7 deletions
|
|
@ -392,13 +392,7 @@ useShadowStyles(PANE_GRID_STYLES + `
|
|||
|
||||
<template>
|
||||
<div class="upgmfe">
|
||||
<!-- data-map-area="share-fallback": THIS HEADER IS THE SHARE MENU'S AREA, declared rather than discovered
|
||||
(2026-10-03). ShareButton's fallback looks for its area during render, before layout, when
|
||||
offsetParent is still null, so it settled on its own parent, the narrow .hdr-btns: the menu
|
||||
clamped to its 200px floor and opened at left:48px of the header, far from a button at the right
|
||||
(measured at 1440 and 390, en and ar). Declared here, MapControlMenu finds the header by closest():
|
||||
the menu opens beside the button at the maps' width, inside the viewport, mirrored in RTL. -->
|
||||
<header class="hdr" data-map-area="share-fallback">
|
||||
<header class="hdr">
|
||||
<ViewSelect
|
||||
:views="spec.panes"
|
||||
:current="view"
|
||||
|
|
|
|||
Loading…
Reference in a new issue