From b1bc54a9968b8022e87121fc68af87c4c133e3fe Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Mon, 9 Sep 2024 12:23:09 -0500 Subject: [PATCH] Templates(github-markdown): Add flex to inner content --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/templates.rs | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9fb8210..ae7f7f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -331,7 +331,7 @@ dependencies = [ [[package]] name = "simple-ssg" -version = "3.1.1" +version = "3.1.2" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index dbd3767..63dc170 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ authors = ["Ryan Brue "] repository = "https://github.com/ryanabx/simple-ssg" license = "MIT" readme = "README.md" -version = "3.1.1" +version = "3.1.2" edition = "2021" description = "Plain and simple static site generator for Djot and Markdown light markup languages" diff --git a/src/templates.rs b/src/templates.rs index b95b256..f4e9944 100644 --- a/src/templates.rs +++ b/src/templates.rs @@ -1265,6 +1265,7 @@ impl BuiltInTemplate { } .content-border { + display: flex; flex: 1; outline: var(--fgColor-muted); outline-width: 5px; @@ -1273,6 +1274,7 @@ impl BuiltInTemplate { .content-body { padding: 1%; + flex: 1; } .table-of-contents {