Markdown OKF-Schema Studio

Area

Layout and width

First-element gap, Margin/Auto/Full width, max content width, overflow, narrow and wide panes

3 use cases · 10 behaviours · 90.91% linked to code and tests

Use cases

Each stop is a use case; open one to see how it is split into behaviours.

  1. StRS-MDOKFSTUDIO-LAYOUT-001The preview never scrolls sideways and wide content scrolls in its boxI never have to scroll the whole page sideways to read a document, whatever its content, theme or the size of the pane; I reach every column of a wide table without the page moving, I can tell there is more to scroll to, and short identifiers stay readable.2 behaviours
  2. StRS-MDOKFSTUDIO-LAYOUT-003A reader chooses how wide the text column isI choose how wide the text column is, from a narrow measure to the whole pane, and every open preview follows; as a reader, I switch between a narrow reading column, a column that lets wide content out, and the full pane with one button, the choice is still there when I come back, I see wide tables, pictures and diagrams in full in Auto when the pane has room, and I can rely on Margin to keep everything in a readable column and on Full width to use the whole pane.5 behaviours
  3. StRS-MDOKFSTUDIO-LAYOUT-004The first element starts clear of the top and of the floating toolbarI see every document start at the same comfortable distance below the top, whether it opens with text, a heading, a table, a picture, an admonition, properties or an empty page, and I can click the first block editor, the Start writing button and the properties controls at any pane width without the floating toolbar covering them.3 behaviours
  4. StRS-MDOKFSTUDIO-LAYOUT-002Wide tables scroll inside their own boxsuperseded superseded by StRS-MDOKFSTUDIO-LAYOUT-001 Markdown file
  5. StRS-MDOKFSTUDIO-LAYOUT-005Nothing clickable hides under the floating toolbarsuperseded superseded by StRS-MDOKFSTUDIO-LAYOUT-004 Markdown file
  6. StRS-MDOKFSTUDIO-LAYOUT-006One button switches the width modesuperseded superseded by StRS-MDOKFSTUDIO-LAYOUT-003 Markdown file
  7. StRS-MDOKFSTUDIO-LAYOUT-007Auto width lets wide content break out of the columnsuperseded superseded by StRS-MDOKFSTUDIO-LAYOUT-003 Markdown file
  8. StRS-MDOKFSTUDIO-LAYOUT-008Margin and Full width modes frame the content predictablysuperseded superseded by StRS-MDOKFSTUDIO-LAYOUT-003 Markdown file
  9. StRS-MDOKFSTUDIO-LAYOUT-009Layout measurements stay trustworthy for maintainerssuperseded superseded by StRS-MDOKFSTUDIO-LAYOUT-001 Markdown file