forked from cory/tildefriends
Run prettier.
This commit is contained in:
.prettierrc.yamlREADME.md
apps
admin.json
admin
api.jsonapi
apps.jsonapps
blog.jsonblog
db
follow.jsonfollow
gg.jsongg
identity.jsonidentity
issues.jsonissues
journal.jsonjournal
sneaker.jsonsneaker
ssb.jsonssb
app.jsemojis.jsindex.htmlscript.jstf-app.jstf-compose.jstf-id-picker.jstf-message.jstf-news.jstf-profile.jstf-styles.jstf-tab-connections.jstf-tab-mentions.jstf-tab-news-feed.jstf-tab-news.jstf-tab-query.jstf-tab-search.jstf-tag.jstf-user.jstf-utils.jstribute.css
todo.jsontodo
welcome.jsonwelcome
wiki.jsonwiki
core
docs
@@ -17,8 +17,12 @@ class TfTagElement extends LitElement {
|
||||
|
||||
render() {
|
||||
let number = this.count ? html` (${this.count})` : undefined;
|
||||
return html`<a href="#q=${this.tag}" style="display: inline-block; margin: 3px; border: 1px solid black; background-color: #444; padding: 4px; border-radius: 3px">${this.tag}${number}</a>`;
|
||||
return html`<a
|
||||
href="#q=${this.tag}"
|
||||
style="display: inline-block; margin: 3px; border: 1px solid black; background-color: #444; padding: 4px; border-radius: 3px"
|
||||
>${this.tag}${number}</a
|
||||
>`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('tf-tag', TfTagElement);
|
||||
customElements.define('tf-tag', TfTagElement);
|
||||
|
Reference in New Issue
Block a user