Skip to content

Commit

Permalink
Row UI: accents, better mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-slave authored and TimDaub committed Jun 23, 2024
1 parent a58756a commit 033d45b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/views/components/row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ const row = (
>
</span>
<div style="font-size: 10pt;">
<span>
<span
style="display: flex; flex-wrap: wrap; gap: 0.3em; opacity:0.5;"
>
${path !== "/stories" &&
story.avatars.length > 3 &&
html`
Expand All @@ -164,7 +166,7 @@ const row = (
`,
)}
</div>
<span></span>
<span style="opacity:0.3"></span>
</span>
`}
${story.index
Expand Down Expand Up @@ -202,10 +204,11 @@ const row = (
${story.displayName}
</a>`
: story.displayName}
<span class="row-actions" role="actions">
${interactive || hideCast || !story.index
? null
: html`
<span></span>
<span style="opacity:0.3"></span>
<a
target="_blank"
href="https://warpcast.com/~/compose?embeds[]=${encodeURIComponent(
Expand All @@ -223,7 +226,7 @@ const row = (
? null
: html`
<span class="share-container">
<span></span>
<span style="opacity:0.3"></span>
<a
href="#"
class="caster-link share-link"
Expand All @@ -242,7 +245,7 @@ const row = (
? null
: html`
<span class="inverse-share-container">
<span></span>
<span style="opacity:0.3"></span>
<a
href="#"
class="meta-link share-link"
Expand All @@ -257,6 +260,7 @@ const row = (
</a>
</span>
`}
</span>
</span>
</div>
</div>
Expand Down

0 comments on commit 033d45b

Please sign in to comment.