diff --git a/.github/workflows/scripts/docs/build-docs.sh b/.github/workflows/scripts/docs/build-docs.sh index 411d891c..e0fa2c76 100755 --- a/.github/workflows/scripts/docs/build-docs.sh +++ b/.github/workflows/scripts/docs/build-docs.sh @@ -6,7 +6,7 @@ docker run \ --rm \ --user "$(id -u):$(id -g)" \ -v "${PWD}:/docs" \ - squidfunk/mkdocs-material:7.3.0 build --strict + squidfunk/mkdocs-material:7.3.3 build --strict # Remove unnecessary build artifacts: https://github.com/squidfunk/mkdocs-material/issues/2519 cd site || exit diff --git a/docs/content/assets/css/customizations.css b/docs/content/assets/css/customizations.css index 53fee32d..49ede009 100644 --- a/docs/content/assets/css/customizations.css +++ b/docs/content/assets/css/customizations.css @@ -1,4 +1,7 @@ -/* This file adds our styling additions / fixes to maintain. */ +/* + This file adds our styling additions / fixes to maintain. + Some of which are overly specific and may break with future updates by upstream. +*/ /* ============================================================================================================= */ @@ -40,6 +43,19 @@ If you want to append instead, switch `::before` to `::after`. /* ============================================================================================================= */ +/* + UX Bugfix for left navbar visibility on top-level (tabbed) pages with no nested sub-pages. + Upstream will not fix: https://github.com/squidfunk/mkdocs-material/issues/3109 +*/ + +@media screen and (min-width: 76.25em) { + .md-nav--lifted>.md-nav__list>.md-nav__item--active>.md-nav__link { + display: none; + } +} + +/* ============================================================================================================= */ + /* UX Bugfix for permalink affecting typography in headings. Upstream will not fix: https://github.com/squidfunk/mkdocs-material/issues/2369