Skip to content

Commit 9702278

Browse files
authored
fix(clipboard-copy): copy button height (#2761)
Fixes #2741
1 parent 845e350 commit 9702278

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/upset-birds-mix.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
"@patternfly/elements": patch
3+
---
4+
`<pf-clipboard-copy>`: corrected size of copy button

elements/pf-clipboard-copy/pf-clipboard-copy.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ textarea {
128128
height: 100%;
129129
}
130130

131+
#copy-button {
132+
height: calc(100% - var(--pf-c-button--PaddingTop) - var(--pf-c-button--PaddingBottom));
133+
}
134+
131135
.container:is(.compact, .inline) #input-group {
132136
display: contents;
133137
}

0 commit comments

Comments
 (0)