Skip to content

Commit

Permalink
fix precode + wrap whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
glendc committed Apr 15, 2024
1 parent 1e44ad4 commit 84c0f40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@
<h2>Example</h2>
<br>
<div id="code-block">
<code>
<pre>
<pre><code>
use venndb::VennDB

#[derive(Debug, VennDB)]
Expand Down Expand Up @@ -144,8 +143,7 @@ <h2>Example</h2>

println!("non-manager admin engineer: {:?}", employee);
}
</pre>
</code>
</code></pre>
</div>
<quote>
<p>Learn more at <a href="https://github.com/plabayo/venndb">https://github.com/plabayo/venndb</a>.
Expand Down
4 changes: 4 additions & 0 deletions www/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ main {
font-size: 0.9em;
}

pre {
white-space: pre-wrap;
}

quote {
display: block;
margin: 10px auto;
Expand Down

0 comments on commit 84c0f40

Please sign in to comment.