Skip to content

Commit

Permalink
fix(clipboard): display long content correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dpellier committed Jul 29, 2024
1 parent 4a71276 commit 7114e48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
}

.ods-clipboard {
&__input::part(input) {
padding-right: calc(input.$ods-input-actions-button-width + input.$ods-input-actions-padding-right);
}

&__copy {
display: flex;
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion packages/ods/src/components/clipboard/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</ods-clipboard>

<p>Value</p>
<ods-clipboard value="Some content to copy">
<ods-clipboard value="Some content to copy Some content to copy Some content to copy Some content to copy">
</ods-clipboard>

<p>Event</p>
Expand Down

0 comments on commit 7114e48

Please sign in to comment.