making quill work

This commit is contained in:
metacryst
2026-01-09 11:13:11 -06:00
parent 6230e98312
commit 12dc2384f7
2 changed files with 418 additions and 170 deletions

File diff suppressed because one or more lines are too long

View File

@@ -118,7 +118,8 @@ class Home extends Shadow {
VStack(() => {
this.logs.map(log =>
div(log)
.padding("8px 12px")
.paddingHorizontal("8px")
.paddingVertical("12px")
.backgroundColor("rgba(255,255,255,0.9)")
.borderRadius(6, px)
.marginBottom(6, px)
@@ -130,7 +131,7 @@ class Home extends Shadow {
.attr({"id": "logList"})
.flex(1)
.overflowY("auto")
.padding("0 16px")
.paddingHorizontal(16, px)
})
.marginTop(7, em)
})
@@ -175,7 +176,7 @@ class Home extends Shadow {
async sendLocation(lat, lon, timestamp) {
try {
const resp = await fetch('http://sam.local:3008/api/location', {
const resp = await fetch('http://localhost:3008/api/location', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({