Skip to content

Commit

Permalink
fix(syntax): code blocks with line numbers do not have the correct bo…
Browse files Browse the repository at this point in the history
…rder radius
  • Loading branch information
talha131 committed Feb 2, 2020
1 parent 0b50ab1 commit 3a34a3e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions static/css/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ div.highlight {
margin-bottom: 20px;
border-radius: var(--borderRadius);
}
td.code div.highlight {
border-radius: 0 var(--borderRadius) var(--borderRadius) 0;
}
pre {
overflow: auto;
white-space: pre;
Expand All @@ -28,9 +31,6 @@ td {
text-align: right;
overflow: hidden;
}
td.code .highlight pre {
border-radius: 0 var(--borderRadius) var(--borderRadius) 0;
}
td.code {
width: 100%;
}
Expand All @@ -48,4 +48,3 @@ table.highlighttable td {
table.highlighttable tbody > tr:nth-child(odd) > td {
background-color: transparent;
}

0 comments on commit 3a34a3e

Please sign in to comment.