diff --git a/src/apps/web/static/oddbean.css b/src/apps/web/static/oddbean.css index 3c7dcca..c4aaac7 100644 --- a/src/apps/web/static/oddbean.css +++ b/src/apps/web/static/oddbean.css @@ -19,7 +19,6 @@ body { font-family: sans-serif; - line-height: 1.2; } a:link, a:visited { @@ -331,6 +330,8 @@ table.vert { .info-page { + line-height: 1.2; + padding-left: 10px; padding-right: 10px; diff --git a/src/apps/web/static/oddbean.js b/src/apps/web/static/oddbean.js index 9c1e4de..925afbb 100644 --- a/src/apps/web/static/oddbean.js +++ b/src/apps/web/static/oddbean.js @@ -67,7 +67,7 @@ document.addEventListener('alpine:init', () => { let ev = { created_at: Math.floor(((new Date()) - 0) / 1000), kind: 1, - tags: [['t', 'oddbean']], + tags: [['t', 'oddbean'],['client', 'oddbean']], content: this.$refs.post.value, }; @@ -105,7 +105,7 @@ document.addEventListener('alpine:init', () => { let ev = { created_at: Math.floor(((new Date()) - 0) / 1000), kind: 1, - tags: [], + tags: [['client', 'oddbean']], content: this.$refs.post.value, }; @@ -195,7 +195,7 @@ document.addEventListener("click", async (e) => { let ev = { created_at: Math.floor(((new Date()) - 0) / 1000), kind: 7, - tags: [], + tags: [['client', 'oddbean']], content: which === 'u' ? '+' : '-', }; @@ -203,10 +203,6 @@ document.addEventListener("click", async (e) => { let response = await fetch(`/e/${note}/raw.json`); let liked = await response.json(); - //for (let tag of liked.tags) { - // if (tag.length >= 2 && (tag[0] === 'e' || tag[0] === 'p')) ev.tags.push(tag); - //} - ev.tags.push(['e', liked.id]); ev.tags.push(['p', liked.pubkey]); }