Skip to content

Commit 245039d

Browse files
committed
wip
1 parent 3a8e156 commit 245039d

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

ghcjs/delivery-calculator/src/App/Widgets/Main.hs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,16 @@ screenWidget st@Model {modelState = St {stScreen = Main}} =
112112
then mempty
113113
else buttons
114114
)
115-
<> [ Flex.flexCol main_ id $ Asset.assetsViewer st <> totalViewer st
115+
<> [ Flex.flexCol
116+
main_
117+
( <>
118+
[ style_
119+
[ ("flex-direction", "column-reverse")
120+
]
121+
]
122+
)
123+
$ totalViewer st
124+
<> Asset.assetsViewer st
116125
]
117126
<> buttons
118127
where

ghcjs/miso-functora/js/main.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,14 @@ export async function opfsRead({ opfsDir, opfsFile }) {
129129
const res = await resolveDataUrl(uri);
130130
return res;
131131
} catch (e) {
132-
alert(
133-
"OPFS read failure: " +
134-
e.toString() +
135-
" dir: " +
136-
opfsDir +
137-
" file: " +
138-
opfsFile,
139-
);
132+
// alert(
133+
// "OPFS read failure: " +
134+
// e.toString() +
135+
// " dir: " +
136+
// opfsDir +
137+
// " file: " +
138+
// opfsFile,
139+
// );
140140
return null;
141141
}
142142
}

ghcjs/miso-functora/js/main.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)