From c469ef23e694e2295ef0476d722879e38a771682 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 5 Jan 2025 15:49:57 -0500 Subject: [PATCH] ssb: Make the profile layout a little friendlier. --- apps/ssb.json | 2 +- apps/ssb/tf-profile.js | 28 +++++++++++++--------------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index ff051ddc..749b5040 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🦀", - "previous": "&onr50/qdchNff8LbpgKSmYBhAXuiuCS5yUXE/8uSEaY=.sha256" + "previous": "&Fukja09hc/jieMnfbFnQft1drL5lIR/du8wUQTKDYXc=.sha256" } diff --git a/apps/ssb/tf-profile.js b/apps/ssb/tf-profile.js index 4f15e449..b0b806d6 100644 --- a/apps/ssb/tf-profile.js +++ b/apps/ssb/tf-profile.js @@ -217,20 +217,18 @@ class TfProfileElement extends LitElement { let edit_profile = this.editing ? html`
-
-
- - (this.editing = Object.assign({}, this.editing, {name: event.srcElement.value}))}> -
-
- -
- - (self.editing = Object.assign({}, self.editing, {publicWebHosting: event.srcElement.checked}))}> -
-
- -
+
+ + (this.editing = Object.assign({}, this.editing, {name: event.srcElement.value}))} placeholder="Choose a name"> +
+
+ +
+ + (self.editing = Object.assign({}, self.editing, {publicWebHosting: event.srcElement.checked}))}> +
+
+
` : null; @@ -243,7 +241,7 @@ class TfProfileElement extends LitElement {

(${tfutils.human_readable_size(this.size)})

-
+