Skip to content

Commit

Permalink
Fixed border-radius on code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-dalby committed Oct 28, 2024
1 parent d309b64 commit 9300178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/components/snippets/FullCodeBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const FullCodeBlock: React.FC<FullCodeBlockProps> = ({
{`
.syntax-highlighter-full {
overflow: auto !important;
border-radius: 0.5rem;
}
.syntax-highlighter-full ::selection {
Expand Down
1 change: 1 addition & 0 deletions client/src/components/snippets/PreviewCodeBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const PreviewCodeBlock: React.FC<PreviewCodeBlockProps> = ({
min-height: ${visibleHeight}px !important;
max-height: ${visibleHeight}px !important;
overflow: hidden !important;
border-radius: 0.5rem;
}
.syntax-highlighter-preview ::selection {
Expand Down

0 comments on commit 9300178

Please sign in to comment.