Skip to content

Commit

Permalink
Merge pull request #28 from nasbench/fix-indent
Browse files Browse the repository at this point in the history
fix: #26
  • Loading branch information
M3NIX authored Dec 1, 2023
2 parents 728534f + 8a9a0b4 commit 5491a87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,18 @@ pre:has(> #pipeline-code:empty)::after {
width: 20px;
}

div[class*="language-"],
code[class*="language-"],
code[class*="language-"] *,
pre[class*="language-"] {
div[class*="language-yaml"],
code[class*="language-yaml"],
code[class*="language-yaml"] *,
pre[class*="language-yaml"] {
word-break: break-word !important;
white-space: pre !important;
}

div[class*="language-splunk"],
code[class*="language-splunk"],
code[class*="language-splunk"] *,
pre[class*="language-splunk"] {
word-break: break-word !important;
white-space: pre-line !important;
}
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
query
</span>
</p>
<pre class="border border-sigma-blue">
<pre class="border border-sigma-blue language-splunk-spl">
<code id="query-code" class="language-splunk-spl text-sm">the generated query should be displayed here :)</code></pre>
</div>

Expand Down

0 comments on commit 5491a87

Please sign in to comment.