summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/run2
-rw-r--r--ui/routes/(app)/+layout.svelte7
2 files changed, 5 insertions, 4 deletions
diff --git a/tools/run b/tools/run
index 8c450cf..7f43a19 100755
--- a/tools/run
+++ b/tools/run
@@ -5,7 +5,7 @@
if [ -z ${PILCROW_DEV+x} ]; then
cargo run -- "$@"
else
- npm run dev -- --host 192.168.68.57 & PIDS[0]=$!
+ npm run dev -- & PIDS[0]=$!
cargo run -- "$@" & PIDS[1]=$!
trap "kill ${PIDS[*]}" SIGINT
diff --git a/ui/routes/(app)/+layout.svelte b/ui/routes/(app)/+layout.svelte
index 406d85a..cc900a6 100644
--- a/ui/routes/(app)/+layout.svelte
+++ b/ui/routes/(app)/+layout.svelte
@@ -72,7 +72,7 @@
events.close();
}
if (gesture !== null) {
- gesture.destroy();
+ gesture.destroy();
}
});
</script>
@@ -113,8 +113,9 @@
* Safari, when swiping from the screen edge, the OS gets th event and
* handles it before the browser does.
*/
- html, body {
- overscroll-behavior-x: none;
+ html,
+ body {
+ overscroll-behavior-x: none;
}
#interface {