Line

ui/client/features/shell/domain/NarrowLayout

Pure (DOMAIN-001): the narrow (< 900px) layout shows ONE pane at a time, switched from a bottom tab bar (Design #250, docs/design/cockpit-layout.md).

Cockpit client (features), v0.9. Source: ui/client/features/shell/domain/NarrowLayout.ts.

Variables#

NARROW_BREAKPOINT#

const NARROW_BREAKPOINT: 900 = 900

Defined in: ui/client/features/shell/domain/NarrowLayout.ts:5

Below this width the frame collapses to one pane (>= 900 keeps the 3-pane layout).


NARROW_MEDIA_QUERY#

const NARROW_MEDIA_QUERY: "(max-width: 899px)"

Defined in: ui/client/features/shell/domain/NarrowLayout.ts:7

Functions#

isNarrowWidth()#

isNarrowWidth(width): boolean

Defined in: ui/client/features/shell/domain/NarrowLayout.ts:9

Parameters#

width

number

Returns#

boolean