From 84c0f40781449f36b4127f9be1516f576888015f Mon Sep 17 00:00:00 2001 From: glendc Date: Mon, 15 Apr 2024 11:34:15 +0200 Subject: [PATCH] fix precode + wrap whitespace --- www/index.html | 6 ++---- www/style.css | 4 ++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/www/index.html b/www/index.html index b43c01d..1110d51 100644 --- a/www/index.html +++ b/www/index.html @@ -111,8 +111,7 @@

Example


- -
+                

 use venndb::VennDB
 
 #[derive(Debug, VennDB)]
@@ -144,8 +143,7 @@ 

Example

println!("non-manager admin engineer: {:?}", employee); } -
- +

Learn more at https://github.com/plabayo/venndb. diff --git a/www/style.css b/www/style.css index 018f307..9b815f6 100644 --- a/www/style.css +++ b/www/style.css @@ -117,6 +117,10 @@ main { font-size: 0.9em; } +pre { + white-space: pre-wrap; +} + quote { display: block; margin: 10px auto;