kopia lustrzana https://github.com/cloudflare/wildebeest
update status click handler not to include account
rodzic
bed859f737
commit
5b935a11e6
|
@ -27,7 +27,6 @@ export default component$((props: Props) => {
|
|||
return (
|
||||
<article class="p-4 border-t border-wildebeest-700 break-words sm:break-normal">
|
||||
<RebloggerLink account={reblogger}></RebloggerLink>
|
||||
<div onClick$={handleContentClick}>
|
||||
<div class="flex justify-between mb-3">
|
||||
<StatusAccountCard status={status} subText="username" secondaryAvatar={reblogger} />
|
||||
<Link class="no-underline" href={statusUrl}>
|
||||
|
@ -37,8 +36,11 @@ export default component$((props: Props) => {
|
|||
</div>
|
||||
</Link>
|
||||
</div>
|
||||
<div class="leading-relaxed inner-html-content" dangerouslySetInnerHTML={status.content} />
|
||||
</div>
|
||||
<div
|
||||
onClick$={handleContentClick}
|
||||
class="leading-relaxed inner-html-content cursor-pointer"
|
||||
dangerouslySetInnerHTML={status.content}
|
||||
/>
|
||||
|
||||
<MediaGallery medias={status.media_attachments} />
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue