Macaw.Layout.Flow (macaw v0.6.0)

Copy Markdown View Source

The flow (spec/06 §3.3), the built-in layout :flow: sections for prose, in the order the surface gives, {:flow, order: ["intro", "chart", "notes"]}, each as tall as its content. A cell has no place.

iex> Macaw.Layout.Flow.container(%{order: ["a"]})
"mw-flow"

Summary

Functions

The flow's static stylesheet: block sections, each its content's height, with var(--mw-flow-gap, 1.5rem) between them.

The stylesheet's path, its content address (Macaw.Component.Stylesheet.path/1).

Functions

stylesheet()

@spec stylesheet() :: String.t()

The flow's static stylesheet: block sections, each its content's height, with var(--mw-flow-gap, 1.5rem) between them.

stylesheet_path()

@spec stylesheet_path() :: String.t()

The stylesheet's path, its content address (Macaw.Component.Stylesheet.path/1).