Fix border radius and add padding so code visible with copy button

master
Maik de Kruif 2 weeks ago
parent 0fe3cf6682
commit d3b327afc0
No known key found for this signature in database
GPG Key ID: DB1A8C782DD43CB3
  1. 12
      themes/maik-blog/assets/scss/_main.scss

@ -575,20 +575,18 @@ table {
.highlight { .highlight {
position: relative; position: relative;
border-radius: 8px;
&:has(table) { margin: 0.95em 0;
margin: 0.95em 0; overflow: hidden;
border-radius: 8px;
overflow: hidden;
}
pre { pre {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
margin: 0;
.line { .line {
padding-left: 20px; padding-left: 20px;
padding-right: 10px; padding-right: 40px;
} }
} }

Loading…
Cancel
Save