Skip to content

Commit

Permalink
Conversations and HandpickedTakes username tag
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriVanGuard committed Feb 1, 2022
1 parent 71cedb2 commit d715cc7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Conversations/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
/>
</div>

{user.username || user.email}
{user.username ? '@' : ''}{user.username || user.email}
</a>

<div class="insigts">Insights</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/insights/SmallCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ a.title(href="{link}")
MultilineText(maxLines='{3}') {title}

.bottom
a.user(href='/user/{user.id}') {user.username}
a.user(href='/user/{user.id}') {user.username ? '@':''}{user.username}
+if('isPaywallRequired')
+icon('crown').paywalled

Expand Down
7 changes: 7 additions & 0 deletions src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@
--accent: var(--green);
--accent-hover: var(--green-hover);
--accent-light-3: var(--green-light-3);

// Supporting legacy for now
--jungle-green: var(--green);
--jungle-green-hover: var(--green-hover);
--persimmon: var(--red);
--rhino: var(--black);
--mirage: var(--black);
}
1 change: 0 additions & 1 deletion src/react/Editor/Editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@
outline: none;
background: transparent;
border-radius: 50%;
border: 2px solid var(--black);
width: 18px;
height: 18px;
position: relative;
Expand Down

0 comments on commit d715cc7

Please sign in to comment.