Skip to content

Commit

Permalink
GIX-2184: Bold token title (#4088)
Browse files Browse the repository at this point in the history
# Motivation

The token's title should be bold per design.

I used h5 because it matches the style and it makes sense from semantics
perspective also.

# Changes

* Wrap the row title with h5 instead of span. Remove default margin on
h5.

# Tests

* No test, only UI changes.

# Todos

- [ ] Add entry to changelog (if necessary).

Not necessary.
  • Loading branch information
lmuntaner authored Dec 20, 2023
1 parent a5eed40 commit c5b4fa7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
framed
/>
<div class="title-wrapper">
<span data-tid="project-name">{userTokenData.title}</span>
<h5 data-tid="project-name">{userTokenData.title}</h5>
{#if nonNullish(userTokenData.subtitle)}
<span data-tid="project-subtitle" class="description"
>{userTokenData.subtitle}</span
Expand Down Expand Up @@ -119,6 +119,10 @@
@use "@dfinity/gix-components/dist/styles/mixins/media";
@use "../../../themes/mixins/grid-table";
h5 {
margin: 0;
}
[role="row"] {
@include interaction.tappable;
Expand Down

0 comments on commit c5b4fa7

Please sign in to comment.