diff options
| -rw-r--r-- | mmm/mmmfs/util.moon | 1 | ||||
| -rw-r--r-- | root/games/IYNX/pictures/text$moonscript -> fn -> mmm$dom.moon | 9 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mmm/mmmfs/util.moon b/mmm/mmmfs/util.moon index db59012..11f00fe 100644 --- a/mmm/mmmfs/util.moon +++ b/mmm/mmmfs/util.moon @@ -101,6 +101,7 @@ tourl = (path, _view) -> when 'well' node = span { class: klass + style: opts.style node if opts.desc div opts.desc, class: 'description' diff --git a/root/games/IYNX/pictures/text$moonscript -> fn -> mmm$dom.moon b/root/games/IYNX/pictures/text$moonscript -> fn -> mmm$dom.moon index dfa03eb..531c6c3 100644 --- a/root/games/IYNX/pictures/text$moonscript -> fn -> mmm$dom.moon +++ b/root/games/IYNX/pictures/text$moonscript -> fn -> mmm$dom.moon @@ -3,15 +3,14 @@ import embed from (require 'mmm.mmmfs.util') require 'mmm.dom' => images = for child in *@children - embed child, nil, nil, attr: { - style: { - height: '15em' - margin: '0 .5em' - } + embed child, nil, nil, wrap: 'raw', style: { + height: '15em' + margin: '0 .5em' } div with images .style = { display: 'flex' overflow: 'auto hidden' + height: '15rem' } |
