Fix some weird spacing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4782 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -213,9 +213,9 @@ class TfMessageElement extends LitElement { | ||||
| 		let self = this; | ||||
| 		if (this.message.child_messages?.length) { | ||||
| 			if (!this.expanded[this.message.id]) { | ||||
| 				return html`<p><button class="w3-button w3-dark-grey" @click=${() => self.set_expanded(true)}>+ ${this.total_child_messages(this.message) + ' More'}</button></p>`; | ||||
| 				return html`<button class="w3-button w3-dark-grey" @click=${() => self.set_expanded(true)}>+ ${this.total_child_messages(this.message) + ' More'}</button>`; | ||||
| 			} else { | ||||
| 				return html`<p><button class="w3-button w3-dark-grey" @click=${() => self.set_expanded(false)}>Collapse</button></p>${(this.message.child_messages || []).map(x => html`<tf-message .message=${x} whoami=${this.whoami} .users=${this.users} .drafts=${this.drafts} .expanded=${this.expanded}></tf-message>`)}`; | ||||
| 				return html`<button class="w3-button w3-dark-grey" @click=${() => self.set_expanded(false)}>Collapse</button>${(this.message.child_messages || []).map(x => html`<tf-message .message=${x} whoami=${this.whoami} .users=${this.users} .drafts=${this.drafts} .expanded=${this.expanded}></tf-message>`)}`; | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| @@ -411,10 +411,10 @@ class TfMessageElement extends LitElement { | ||||
| 						</div> | ||||
| 						${payload} | ||||
| 						${this.render_votes()} | ||||
| 						<div> | ||||
| 						<p> | ||||
| 							${reply} | ||||
| 							<button class="w3-button w3-dark-grey" @click=${this.react}>React</button> | ||||
| 						</div> | ||||
| 						</p> | ||||
| 						${this.render_children()} | ||||
| 					</div> | ||||
| 				`; | ||||
| @@ -446,9 +446,9 @@ class TfMessageElement extends LitElement { | ||||
| 						</div> | ||||
| 						${content.text} | ||||
| 						${this.render_votes()} | ||||
| 						<div> | ||||
| 						<p> | ||||
| 							<button class="w3-button w3-dark-grey" @click=${this.react}>React</button> | ||||
| 						</div> | ||||
| 						</p> | ||||
| 						${this.render_children()} | ||||
| 					</div> | ||||
| 				`; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user