# Context Menu Style Fix - dev-24.9.2

## Purpose

Cell context menus are created as transient overlays and appended to `document.body`.
Earlier theme rules scoped `.ng-context-menu` under `.unifiedspread-native-grid`, so the
body-level menu did not receive the intended vertical menu styles. The browser rendered
its child buttons as plain inline controls, which made the menu spread horizontally over
the worksheet.

## Fix

- Added body-level `.ng-context-menu` and `.ng-context-menu button` rules.
- Kept the menu within the existing `unifiedspread-floating-ui` transient overlay policy.
- Added `max-height` and `overflow-y:auto` so long spreadsheet context menus remain usable.
- Preserved the existing viewport-clamped positioning via `positionTransientMenu()`.

## Design note

The runtime intentionally appends filter, object, sheet, and cell menus to `document.body`
so they are not clipped by grid scroll containers or Demo maximize frames. Any CSS for
these menus must therefore use body-level UnifiedSpread-owned classes rather than relying
only on grid-scoped selectors.
