put the code copy button into the markdown processor

This commit is contained in:
Oleksandr 2025-11-22 09:00:00 +02:00
parent 7f75bba052
commit b9accda035
Signed by: Xanazf
GPG key ID: 821EEC32761AC17C
20 changed files with 176 additions and 211 deletions

View file

@ -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%);