Skip to content

Commit

Permalink
fix(clipboard-copy): copy button height (#2761)
Browse files Browse the repository at this point in the history
Fixes #2741
  • Loading branch information
bennypowers authored May 13, 2024
1 parent 845e350 commit 9702278
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .changeset/upset-birds-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
"@patternfly/elements": patch
---
`<pf-clipboard-copy>`: corrected size of copy button
4 changes: 4 additions & 0 deletions elements/pf-clipboard-copy/pf-clipboard-copy.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ textarea {
height: 100%;
}

#copy-button {
height: calc(100% - var(--pf-c-button--PaddingTop) - var(--pf-c-button--PaddingBottom));
}

.container:is(.compact, .inline) #input-group {
display: contents;
}
Expand Down

0 comments on commit 9702278

Please sign in to comment.