Skip to content

Commit

Permalink
🎨 button com text wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-gn committed May 23, 2022
1 parent 90bea33 commit 0a57e29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

| Angular Version | NPM Version |
|-----------------|-------------|
| 13.2.3 | 13.0.10 |
| 13.2.3 | 13.0.11 |
| < 13.0.0 | 0.0.77 |

## Reference
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mprisma/components",
"version": "13.0.10",
"version": "13.0.11",
"repository": {
"type": "git",
"url": "https://github.com/gabriel-gn/prisma-components.git"
Expand Down
5 changes: 4 additions & 1 deletion src/components/inputs/button/button.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
<ng-template #buttonContent>
<i *ngIf="iconClass && busy === false && iconPosition === 'start'" class="{{iconClass}}"></i>
<ng-container *ngIf="label; else noLabel">
<span class="align-self-center" [ngClass]="{'ms-2': !!label && iconPosition === 'start', 'me-2': !!label && iconPosition === 'end'}">
<span
class="align-self-center text-overflow"
[ngClass]="{'ms-2': !!label && iconPosition === 'start', 'me-2': !!label && iconPosition === 'end'}"
>
{{label}}
</span>
</ng-container>
Expand Down

1 comment on commit 0a57e29

@vercel
Copy link

@vercel vercel bot commented on 0a57e29 May 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.