Skip to content

Commit

Permalink
Its all bold when for small profile snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Apr 9, 2024
1 parent 096b36d commit 3301483
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/UI/ProfileSnippet.elm
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ view { size, profile } =
cfg_ n class_ =
{ avatar = Avatar.avatar user.avatarUrl (Maybe.map (String.left 1) user.name)
, name = n
, handle = span [ class "profile-snippet_handle" ] [ text (UserHandle.toString user.handle) ]
, handle =
span [ class "profile-snippet_handle" ]
[ text (UserHandle.toString user.handle) ]
, attrs = [ class class_ ]
}
in
Expand Down
1 change: 1 addition & 0 deletions src/css/ui/components/profile-snippet.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.profile-snippet.profile-snippet_size_small {
--c-size_profile-snippet_name: var(--font-size-small);
font-weight: bold;
}

.profile-snippet.profile-snippet_size_medium {
Expand Down

0 comments on commit 3301483

Please sign in to comment.