| 1 |
.ctc-block-copy { |
| 2 |
transition: all ease-in-out 0.2s; |
| 3 |
} |
| 4 |
|
| 5 |
.ctc-block-content > p:last-child { |
| 6 |
margin-bottom: 0; |
| 7 |
} |
| 8 |
|
| 9 |
.ctc-with-icon { |
| 10 |
display: inline-flex; |
| 11 |
align-items: center; |
| 12 |
gap: 10px; |
| 13 |
} |
| 14 |
|
| 15 |
.ctc-with-icon .check-icon { |
| 16 |
display: none; |
| 17 |
} |
| 18 |
|
| 19 |
.copied .ctc-with-icon .copy-icon { |
| 20 |
display: none; |
| 21 |
} |
| 22 |
|
| 23 |
.copied .ctc-with-icon .check-icon { |
| 24 |
display: block; |
| 25 |
} |
| 26 |
|
| 27 |
/* Prevent giant copy icons when blocks/shortcodes are inside table cells. */ |
| 28 |
table .ctc-with-icon svg, |
| 29 |
table .ctc-block-copy svg { |
| 30 |
width: 16px !important; |
| 31 |
height: 16px !important; |
| 32 |
max-width: 16px !important; |
| 33 |
max-height: 16px !important; |
| 34 |
flex-shrink: 0; |
| 35 |
} |