Skip to content

Commit ccea329

Browse files
committed
wip
1 parent 1767022 commit ccea329

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

ghcjs/delivery-calculator/flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
${app-release-wasm}/bin/app-release-wasm
4848
out="./dist/latest"
4949
rm -rf "$out"
50-
cp -R ${../miso-functora/dist}/* $out/
50+
mkdir -p "$out/static"
51+
cp -RLf --no-preserve=mode,ownership ${../miso-functora/dist}/* $out/
5152
cp ./static/*.png $out/static/
5253
cp ./static/*.woff2 $out/static/
5354
cp ./static/*.webmanifest $out/

ghcjs/miso-functora/miso-functora.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: miso-functora
33
version: 0.1.0.0
44
synopsis: Miso Widgets
55
category: Web
6-
build-type: Custom
6+
build-type: Simple
77

88
flag ghcid
99
manual: True

ghcjs/miso-functora/src/Functora/Miso/Widgets/Spinner.hs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ import Functora.Miso.Widgets.FixedOverlay as FixedOverlay
1010
spinner :: [View action]
1111
spinner =
1212
[ keyed "spinner-overlay"
13-
$ FixedOverlay.fixedOverlay mempty,
13+
$ FixedOverlay.fixedOverlay
14+
[ style_
15+
[ ("z-index", "9999")
16+
]
17+
],
1418
keyed "spinner-content"
1519
$ div_
1620
[ class_ "lds-dual-ring",
@@ -19,7 +23,7 @@ spinner =
1923
("top", "50%"),
2024
("left", "50%"),
2125
("transform", "translate(-50%, -50%)"),
22-
("z-index", "9999")
26+
("z-index", "10000")
2327
]
2428
]
2529
mempty

0 commit comments

Comments
 (0)