diff --git a/src/qiskit_sphinx_theme/assets/styles/_left-sidebar.scss b/src/qiskit_sphinx_theme/assets/styles/_left-sidebar.scss index 142eb953..9207ffab 100644 --- a/src/qiskit_sphinx_theme/assets/styles/_left-sidebar.scss +++ b/src/qiskit_sphinx_theme/assets/styles/_left-sidebar.scss @@ -48,6 +48,10 @@ body { .sidebar-logo { width: 100%; } +.sidebar-ecosystem-link { + padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal); + font-size: var(--sidebar-caption-font-size); +} // -------------------------------------------------------------------------------------- // Common config for Translations & Previous Releases diff --git a/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/custom_templates/sidebar_brand.html b/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/custom_templates/sidebar_brand.html index 820e1a81..8b3c05b8 100644 --- a/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/custom_templates/sidebar_brand.html +++ b/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/custom_templates/sidebar_brand.html @@ -2,22 +2,7 @@ This file is inspired by Furo (created by Pradyun Gedam) and used under the MIT license. -#} - -{#- We default to showing a Qiskit Ecosystem logo -#} -{%- if not logo_url and not theme_light_logo and not theme_dark_logo and not theme_disable_ecosystem_logo -%} - - -{#- Else, use Furo's sidebar code. But, we remove the `centered` class from the `a` element because Carbon left-aligns things. -#} -{%- else %} +{#- Use Furo's sidebar code. But, we remove the `centered` class from the `a` element because Carbon left-aligns things. -#} {% block brand_content %} {%- if logo_url %} @@ -36,4 +21,4 @@ {%- endif %} {% endblock brand_content %} -{%- endif %} +This project is part of the Qiskit ecosystem diff --git a/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/static/images/ecosystem-logo.svg b/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/static/images/ecosystem-logo.svg deleted file mode 100644 index 51b02dd2..00000000 --- a/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/static/images/ecosystem-logo.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tests/js/tests.js-snapshots/left-side-bar-renders-correctly-1-linux.png b/tests/js/tests.js-snapshots/left-side-bar-renders-correctly-1-linux.png index 7be007af..77e14661 100644 Binary files a/tests/js/tests.js-snapshots/left-side-bar-renders-correctly-1-linux.png and b/tests/js/tests.js-snapshots/left-side-bar-renders-correctly-1-linux.png differ