Share menu is a compact 340px, never wider than the viewport; right-aligned under the toolbar on phones

This commit is contained in:
swift-river542 2026-09-16 22:16:46 -05:00
parent 5411bc3de2
commit 9203b2fc87

View file

@ -52,7 +52,7 @@ useShadowStyles(`
position:absolute;
top:0;
right:48px;
width:380px;
width:min(340px, calc(100vw - 80px));
background:#161b22;
border:1px solid #30363d;
border-radius:12px;
@ -369,10 +369,10 @@ useShadowStyles(`
.share-pop{
position:fixed;
top:64px;
left:10px;
right:10px;
left:auto;
right:12px;
z-index:3000;
width:auto;
width:min(340px, calc(100vw - 24px));
max-width:none;
max-height:calc(100vh - 96px);
overflow-y:auto;