Skip to content

Commit

Permalink
feat: select fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvdbrug committed Nov 27, 2024
1 parent 1e7f221 commit 6524ac8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs-website/src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@
@apply prose-lg hover:prose-a:text-blue-500 prose prose-a:font-semibold prose-a:text-blue-600 prose-blockquote:text-blue-600 prose-h3:text-purple-900 text-slate-500;
}

code {
border-radius: 10px;
/* Highlight inline code */
code:not([class]) {
user-select: all; /* Makes the entire block selectable */
border-radius: 5px;
padding: 0.2em 0.4em;
background-color: #ebf9f3; /* Light grey background */
color: #02393b; /* Contrasting text color */
}

/* Copy link for headings */
Expand Down

0 comments on commit 6524ac8

Please sign in to comment.