forked from cory/tildefriends
ssb: tags never got an updated CSS treatment.
This commit is contained in:
parent
a3b76cd5c2
commit
7ecda69703
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&LZizSyrgaKYbjRKj2FfmnCTnkB39ndQ9AVWVC4o3AQk=.sha256"
|
"previous": "&v4G7UquiGKOEeMGY8UWUyy3cjwHx86/3EU256uvi4Es=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -749,7 +749,7 @@ class TfMessageElement extends LitElement {
|
|||||||
);
|
);
|
||||||
} else if (content.type === 'channel') {
|
} else if (content.type === 'channel') {
|
||||||
return this.render_small_frame(html`
|
return this.render_small_frame(html`
|
||||||
<div>
|
<div class="w3-container">
|
||||||
${content.subscribed ? 'subscribed to' : 'unsubscribed from'}
|
${content.subscribed ? 'subscribed to' : 'unsubscribed from'}
|
||||||
<a href=${'#' + encodeURIComponent('#' + content.channel)}
|
<a href=${'#' + encodeURIComponent('#' + content.channel)}
|
||||||
>#${content.channel}</a
|
>#${content.channel}</a
|
||||||
|
@ -19,9 +19,9 @@ class TfTagElement extends LitElement {
|
|||||||
let number = this.count ? html` (${this.count})` : undefined;
|
let number = this.count ? html` (${this.count})` : undefined;
|
||||||
return html`<a
|
return html`<a
|
||||||
href=${'#' + encodeURIComponent(this.tag)}
|
href=${'#' + encodeURIComponent(this.tag)}
|
||||||
style="display: inline-block; margin: 3px; border: 1px solid black; background-color: #444; padding: 4px; border-radius: 3px"
|
class="w3-tag w3-theme-d1 w3-round-4 w3-button"
|
||||||
>${this.tag}${number}</a
|
>${this.tag}${number}</a
|
||||||
>`;
|
> `;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user