Skip to content

Commit

Permalink
fix: #26
Browse files Browse the repository at this point in the history
  • Loading branch information
nasbench committed Nov 30, 2023
1 parent 24575be commit 8a9a0b4
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 8a9a0b4

Please sign in to comment.