From be59463c012db16c44eda411040f06bdcb78f0fa Mon Sep 17 00:00:00 2001 From: s-ol Date: Wed, 20 May 2020 16:57:40 +0200 Subject: fix games/IYNX --- mmm/mmmfs/util.moon | 1 + 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' } -- cgit v1.2.3