ui: Ensure CopyableCode copy icon/button is fully clickable (#14016)

* ui: Ensure CopyableCode copy icon/button is fully clickable

* Give it a 40px height also
This commit is contained in:
John Cowen 2022-08-04 13:30:52 +01:00 committed by GitHub
parent a06eeeda15
commit ff88fcdb39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -26,8 +26,16 @@
}
.copy-button {
position: absolute;
top: 7px;
right: 12px;
top: 0;
right: 0;
z-index: 1;
}
.copy-button button {
width: 40px;
height: 40px;
}
.copy-button button:empty::after {
display: none;
}
button[aria-expanded] {
margin-top: 1px;