Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
quick fix for code block spacing
  • Loading branch information
chillenberger committed Dec 20, 2023
commit cea41776f90b4ca844dda66f1a9f8473b23703e5
2 changes: 1 addition & 1 deletion pgml-dashboard/src/utils/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter {
.enumerate()
.map(|(index, code)| {
format!(
r#"<div class="code-line-highlight-{}">{}</div>"#,
r#"<div class="code-line-highlight-{} d-inline-block" style="line-height: 20px;">{}</div>"#,
match options.highlight.get(&(index + 1).to_string()) {
Some(color) => color,
_ => "none",
Expand Down