Skip to content

Commit

Permalink
Truncate button text
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjacob committed Jan 29, 2025
1 parent 4916c56 commit 7718eb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-pagoda/ui",
"version": "3.1.1",
"version": "3.1.2",
"description": "A React component library that implements the official NEAR design system.",
"license": "MIT",
"repository": {
Expand Down
7 changes: 5 additions & 2 deletions src/components/Button.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,17 @@
}

.inner {
display: inline-flex;
display: flex;
align-items: center;
justify-content: center;
gap: var(--button-gap);
}

.label {
display: inline-flex;
display: block;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
}

.icon {
Expand Down

0 comments on commit 7718eb8

Please sign in to comment.