From b10f00ed9a61917628166ef37bfa2727621b2176 Mon Sep 17 00:00:00 2001 From: okash1n <48118431+okash1n@users.noreply.github.com> Date: Thu, 29 Jan 2026 02:43:57 +0900 Subject: [PATCH] fix: prevent content overflow across aside divider --- docs/.vitepress/theme/custom.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 22e1321..552ecf6 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -36,6 +36,21 @@ --vp-sidebar-border-color: transparent; } +/* Prevent content overflow from overlapping the aside divider */ +.vp-doc :is(p, li, td, th, a) { + overflow-wrap: anywhere; + word-break: break-word; +} + +.vp-doc table { + table-layout: fixed; + width: 100%; +} + +.vp-doc pre { + overflow-x: auto; +} + /* Header z-index: ensure header is above sidebar */ .VPNavBar { z-index: 30;