mirror of
https://github.com/status-im/consul.git
synced 2025-02-27 12:50:40 +00:00
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:
parent
a06eeeda15
commit
ff88fcdb39
@ -26,8 +26,16 @@
|
|||||||
}
|
}
|
||||||
.copy-button {
|
.copy-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 7px;
|
top: 0;
|
||||||
right: 12px;
|
right: 0;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.copy-button button {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
.copy-button button:empty::after {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
button[aria-expanded] {
|
button[aria-expanded] {
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user