diff options
-rw-r--r-- | src/get_routes.rs | 2 | ||||
-rw-r--r-- | src/static/style.css | 4 | ||||
-rw-r--r-- | src/static/style.css.sha256 | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/src/get_routes.rs b/src/get_routes.rs index 17b7941..d876b4f 100644 --- a/src/get_routes.rs +++ b/src/get_routes.rs @@ -282,6 +282,7 @@ fn diff_blob<C: Controller>( controller, parts: &ctx.parts, }; + page.body.push_str("<div>"); if params.oldid.is_none() { page.body.push_str(&format!( "<h1>{}</h1>{} committed on {}", @@ -303,6 +304,7 @@ fn diff_blob<C: Controller>( from_utf8(&ctx.repo.find_blob(blob_id)?.content())?, )); } + page.body.push_str("</div>"); Ok(page.into()) } diff --git a/src/static/style.css b/src/static/style.css index 0733d56..8ee788d 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -13,6 +13,10 @@ body { row-gap: 0.5em; } +h1 { + margin-top: 0.2em; +} + .edit-form { display: flex; flex-direction: column; diff --git a/src/static/style.css.sha256 b/src/static/style.css.sha256 index 17a3812..cb45c3f 100644 --- a/src/static/style.css.sha256 +++ b/src/static/style.css.sha256 @@ -1 +1 @@ -pVajQAgXar+xHqEuGZsATyQGTVFvnr82Sf28zZ3g4e0=
\ No newline at end of file +9xIJ8fFnUyBYBKBAR6JWlmi39sUqyIqzUt1PnrkDE/c=
\ No newline at end of file |