The design language that makes your AI harness better at design.
JavaScript
Scope sidebar min-height fix to desktop only
Paul Bakaus1bd08ebad92d
diff --git a/public/css/sub-pages.css b/public/css/sub-pages.cssindex fd4dcd814..54aab0646 100644--- a/public/css/sub-pages.css+++ b/public/css/sub-pages.css@@ -340,9 +340,6 @@ main#main {position: sticky;top: var(--site-header-height);align-self: start;- /* Always full viewport height below the site header so the divider- line extends to the bottom of the viewport even on short pages. */- min-height: calc(100vh - var(--site-header-height));max-height: calc(100vh - var(--site-header-height));overflow-y: auto;padding: var(--spacing-lg) 0 var(--spacing-2xl);@@ -351,6 +348,16 @@ main#main {scrollbar-color: var(--color-mist) transparent;}+/* Desktop only: reserve full viewport height so the border-right+ divider reaches the bottom of the viewport even on short pages.+ On mobile this rule would leave a viewport-sized empty block+ above the main content when the menu is collapsed. */+@media (min-width: 921px) {+ .skills-sidebar {+ min-height: calc(100vh - var(--site-header-height));+ }+}+.skills-sidebar::-webkit-scrollbar {width: 6px;}