-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b7b6b9
commit e540588
Showing
8 changed files
with
183 additions
and
83 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 12 additions & 5 deletions
17
...m/projects/lib/src/components/inputs/copy-content-input/copy-content-input.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
<ng-container *ngIf="text"> | ||
<div class="d-flex"> | ||
<input [attr.readonly]="disabled" [attr.disabled]="disabled" [value]="text" class="form-control" [title]="text" | ||
style="border-radius: var(--border-radius-md) 0px 0px var(--border-radius-md) !important;" type="text"> | ||
<button [cdkCopyToClipboard]="text" class="btn-copy"> | ||
<i class="uil uil-lg uil-copy"></i> | ||
<div class="d-flex" [ngClass]="{'h-100': fillHeight}"> | ||
<input [attr.disabled]="disabled" [attr.readonly]="disabled" [value]="text" class="form-control" [title]="text" | ||
style="border-radius: var(--border-radius-{{borderRadius}}) 0px 0px var(--border-radius-{{borderRadius}}) !important;" | ||
type="text" | ||
> | ||
<button | ||
[cdkCopyToClipboard]="text" | ||
(click)="copyCallbackExecute(text)" | ||
class="btn btn-copy btn-{{btnColor}}" | ||
style="border-radius: 0 var(--border-radius-{{borderRadius}}) var(--border-radius-{{borderRadius}}) 0 !important;" | ||
> | ||
<i class="uil uil-lg uil-copy d-flex justify-content-center align-items-center align-self-center"></i> | ||
</button> | ||
</div> | ||
</ng-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.btn-copy { | ||
min-width: 40px !important; | ||
max-width: 40px !important; | ||
display: flex !important; | ||
justify-content: center !important; | ||
padding: 3px !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e540588
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: