mirror of
https://github.com/block/buzz.git
synced 2026-11-29 12:42:49 +00:00
Signed-off-by: Wes <wesbillman@users.noreply.github.com> Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
@@ -13,9 +13,13 @@ export const PANEL_BASE_CLASS =
|
||||
* Starts below the fixed top chrome (window drag region + global search and
|
||||
* channel actions, ~44px tall) so the panel header doesn't collide with it at
|
||||
* narrow widths. Matches the inline layout where the header sits below chrome.
|
||||
*
|
||||
* `h-auto` overrides the base `h-full`: with `fixed top-11 bottom-0`, height is
|
||||
* driven by the top/bottom insets. Without it, `h-full` resolves to 100vh and
|
||||
* the panel hangs below the viewport (100vh tall, but starting 44px down).
|
||||
*/
|
||||
export const PANEL_OVERLAY_CLASS =
|
||||
"fixed bottom-0 right-0 top-11 z-40 shadow-xl max-w-[calc(100vw-2rem)]";
|
||||
"fixed bottom-0 right-0 top-11 z-40 h-auto shadow-xl max-w-[calc(100vw-2rem)]";
|
||||
|
||||
/**
|
||||
* Single-column panel headers should render above the local panel backdrop
|
||||
|
||||
Reference in New Issue
Block a user