diff --git a/qiskit_sphinx_theme/breadcrumbs.html b/qiskit_sphinx_theme/breadcrumbs.html index 6da75fa8..146be821 100644 --- a/qiskit_sphinx_theme/breadcrumbs.html +++ b/qiskit_sphinx_theme/breadcrumbs.html @@ -1,40 +1,10 @@ -{# Support for Sphinx 1.3+ page_source_suffix, but don't break old builds. #} - -{% if page_source_suffix %} -{% set suffix = page_source_suffix %} -{% else %} -{% set suffix = source_suffix %} -{% endif %} - -{% if meta is defined and meta is not none %} -{% set check_meta = True %} -{% else %} -{% set check_meta = False %} -{% endif %} - -{% if check_meta and 'github_url' in meta %} -{% set display_github = True %} -{% endif %} - -{% if check_meta and 'bitbucket_url' in meta %} -{% set display_bitbucket = True %} -{% endif %} - -{% if check_meta and 'gitlab_url' in meta %} -{% set display_gitlab = True %} -{% endif %} -
- - {% if (theme_prev_next_buttons_location == 'top' or theme_prev_next_buttons_location == 'both') and (next or prev) %} - - {% endif %}
diff --git a/qiskit_sphinx_theme/static/css/theme.css b/qiskit_sphinx_theme/static/css/theme.css index 55db00fd..bc450c21 100644 --- a/qiskit_sphinx_theme/static/css/theme.css +++ b/qiskit_sphinx_theme/static/css/theme.css @@ -12372,6 +12372,7 @@ article.pytorch-article .tutorials-callout-container .btn.callout-button a { border-bottom: 1px solid #e2e2e2; width: 100%; z-index: 201; + height: fit-content; } @media screen and (min-width: 1101px) { .pytorch-page-level-bar { @@ -12382,6 +12383,7 @@ article.pytorch-article .tutorials-callout-container .btn.callout-button a { height: 45px; padding-left: 0; width: 100%; + height: fit-content; position: absolute; z-index: 1; } @@ -12390,6 +12392,7 @@ article.pytorch-article .tutorials-callout-container .btn.callout-button a { top: 0; left: 25%; padding-left: 0; + height: fit-content; right: 0; width: 75%; } @@ -12399,12 +12402,14 @@ article.pytorch-article .tutorials-callout-container .btn.callout-button a { left: 0; right: 0; width: auto; + height: fit-content; z-index: 1; } .pytorch-page-level-bar.left-menu-is-fixed { left: 350px; right: 0; width: auto; + height: fit-content; } } .pytorch-page-level-bar ul, .pytorch-page-level-bar li {