From b0cda21d7d9019ecce5c68c5caad6a16ac3322b7 Mon Sep 17 00:00:00 2001 From: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com> Date: Mon, 22 May 2023 16:26:30 +0200 Subject: [PATCH] MAINT: fix the height of sidebars to avoid overflow (#248) --- .../static/css/ansys_sphinx_theme.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css index 789a8a52..7920bed2 100644 --- a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css +++ b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css @@ -968,3 +968,13 @@ div.versionchanged { div.admonition { background-color: var(--pst-color-on-surface); } + +/* +############ +Border lines +############ +*/ +.bd-sidebar-primary, +.bd-sidebar-secondary { + max-height: calc(100vh - var(--pst-header-height) - 1vh); +}