From 396f793db666a9b2cebe056dac9e060c757f1381 Mon Sep 17 00:00:00 2001 From: LeonardoBai12 <69223422+LeonardoBai12@users.noreply.github.com> Date: Tue, 23 Jun 2026 01:28:07 -0300 Subject: [PATCH] Fix sidebar title: add space to allow line break and override nowrap CSS Co-Authored-By: Claude Sonnet 4.6 --- documentation/_config.yml | 2 +- documentation/assets/css/custom.css | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/documentation/_config.yml b/documentation/_config.yml index 1e91b41..7b41904 100644 --- a/documentation/_config.yml +++ b/documentation/_config.yml @@ -3,7 +3,7 @@ theme: jekyll-theme-chirpy # ------------------------- # Site metadata # ------------------------- -title: ProjectMiddleware +title: "Project Middleware" tagline: A Kotlin/Ktor middleware for transforming and mapping external API responses description: >- ProjectMiddleware is an API transformation layer that lets clients register diff --git a/documentation/assets/css/custom.css b/documentation/assets/css/custom.css index 46c565b..c34ebef 100644 --- a/documentation/assets/css/custom.css +++ b/documentation/assets/css/custom.css @@ -1,9 +1,10 @@ -/* Avatar: centered, image zoomed 3x inside the circle */ -#avatar { - margin-left: auto !important; - margin-right: auto !important; +/* Allow site title to wrap onto two lines */ +#sidebar .site-title { + width: 100%; + white-space: normal; } +/* Avatar: image zoomed 3x inside the circle */ #avatar img { object-fit: cover; object-position: center;