Skip to content

Commit

Permalink
fix(card): improve visibility of the header
Browse files Browse the repository at this point in the history
  • Loading branch information
LucyChyzhova committed Jan 30, 2025
1 parent 65b52fe commit 08f6008
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/card/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ header {
gap: 0.125rem;
}

.title {
padding-right: 1.25rem;
}

limel-icon {
flex-shrink: 0;
width: 2rem;
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class Card {
return;
}

return <h1>{this.heading}</h1>;
return <h1 class="title">{this.heading}</h1>;
}

private renderSubheading() {
Expand Down

0 comments on commit 08f6008

Please sign in to comment.