/* User Provided Stylesheet */

/* Override some default CSS from MyST-Book theme */

/* Fix horizontal overflow: don't use 100vw for the sticky top nav.
   This causes horizontal scroll bars to appear whenever there are
   vertical scroll bars, because the top nav width doesn't account
   for the width of the scroll bar and thinks it's not wide enough. */
.myst-top-nav.w-screen {
  width: 100% !important;
  max-width: 100% !important;
}

/* Fix bogus vertical scroll on short pages: don't force 100vh on
   article. This causes vertical scroll bars to appear on all pages
   regardless of whether they are needed or not. */
article.content {
  height: auto !important;
  min-height: auto !important;
}


/* small persistent issue: if the page content is short and the user
   expands the left menu completely such that it extends beyond the
   bottom of the page, a vertical scroll bar appears next to the
   sidebar only. Perhaps this is intended; not sure what a fix to
   this issue would even look like... */
