Skip to content

Commit

Permalink
chore: 🤖 optimize code block style
Browse files Browse the repository at this point in the history
  • Loading branch information
Saul-Mirone committed Aug 27, 2023
1 parent 2e48ee3 commit 1611deb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2e/src/code-block/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ milkdown-code-block .language-button {
border-radius: 8px;
font-size: 14px;
margin-bottom: 24px;
opacity: 0;
transition: opacity 0.2s ease-in-out;
}

milkdown-code-block:hover .language-button {
opacity: 1;
}

milkdown-code-block .language-button:hover {
Expand Down

0 comments on commit 1611deb

Please sign in to comment.