Skip to content
Permalink
Browse files
fix(syntax): code blocks with line numbers do not have the correct bo…
…rder radius
  • Loading branch information
talha131 committed Feb 2, 2020
1 parent 0b50ab1 commit 3a34a3e6b9741e44bc34d723627b0da162fdfa82
Showing 1 changed file with 3 additions and 4 deletions.
@@ -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;
@@ -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%;
}
@@ -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.