put the code copy button into the markdown processor
This commit is contained in:
parent
7f75bba052
commit
b9accda035
20 changed files with 176 additions and 211 deletions
|
|
@ -27,7 +27,7 @@ pre {
|
|||
overflow: hidden;
|
||||
text-wrap: wrap;
|
||||
|
||||
& > button {
|
||||
& .copy-button {
|
||||
all: unset;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
|
|
@ -45,6 +45,7 @@ pre {
|
|||
background-color: hsl(var(--blue) 85% 35% / 0.1);
|
||||
cursor: pointer;
|
||||
transition: color 0.25s;
|
||||
z-index: 10;
|
||||
|
||||
&:hover {
|
||||
color: hsl(var(--blue) 100% 75%);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue