Add configurable stacked recipe layout
This commit is contained in:
@@ -16,11 +16,18 @@ link; it should look like `https://cloud.example.test/s/SHARE_TOKEN`.
|
||||
position: "bottom_right",
|
||||
config: {
|
||||
shareUrl: "https://cloud.example.test/s/SHARE_TOKEN",
|
||||
controlUrl: "http://mirror.example.test:8080/MMM-NextcloudCookbook/control"
|
||||
controlUrl: "http://mirror.example.test:8080/MMM-NextcloudCookbook/control",
|
||||
layout: "stacked"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
`layout` controls the full-screen recipe arrangement. Its default value,
|
||||
`"stacked"`, displays the ingredients above the instructions. Set it to
|
||||
`"side-by-side"` to display ingredients and instructions in two columns. Both
|
||||
layouts automatically enlarge the recipe to make the best use of the available
|
||||
screen while keeping all of its content visible.
|
||||
|
||||
The configured `position` controls where the QR controller appears during the
|
||||
normal MagicMirror layout. When a recipe is activated, the module displays a
|
||||
fixed full-screen overlay regardless of that region. Exiting recipe mode
|
||||
|
||||
Reference in New Issue
Block a user