diff --git a/pyproject.toml b/pyproject.toml
index c3729a12..c4dc3e81 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -26,9 +26,9 @@ classifiers = [
dependencies = [
"docutils",
# Keep in sync with Furo's constraint.
- "sphinx>=6.0,<8.0",
+ "sphinx>=6.0,<9.0",
# See CONTRIBUTING.md for how to upgrade Furo.
- "furo==2024.5.6",
+ "furo==2024.8.6",
]
[project.entry-points."sphinx.html_themes"]
diff --git a/src/qiskit_sphinx_theme/assets/styles/_mobile-header.scss b/src/qiskit_sphinx_theme/assets/styles/_mobile-header.scss
new file mode 100644
index 00000000..fecc31b6
--- /dev/null
+++ b/src/qiskit_sphinx_theme/assets/styles/_mobile-header.scss
@@ -0,0 +1,20 @@
+/* This code is a Qiskit project.
+ *
+ * (C) Copyright IBM 2024.
+ *
+ * This code is licensed under the Apache License, Version 2.0. You may
+ * obtain a copy of this license in the LICENSE.txt file in the root directory
+ * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
+ *
+ * Any modifications or derivative works of this code must retain this
+ * copyright notice, and modified files need to carry a notice indicating
+ * that they have been altered from the originals.
+ */
+
+
+@media (max-width: 63em) {
+ .toc-header-icon {
+ // On mobile, Furo has no space between the page ToC and dark mode icons.
+ margin-left: 8px;
+ }
+}
diff --git a/src/qiskit_sphinx_theme/assets/styles/qiskit-sphinx-theme.scss b/src/qiskit_sphinx_theme/assets/styles/qiskit-sphinx-theme.scss
index 6b2dfd9a..74a0f147 100644
--- a/src/qiskit_sphinx_theme/assets/styles/qiskit-sphinx-theme.scss
+++ b/src/qiskit_sphinx_theme/assets/styles/qiskit-sphinx-theme.scss
@@ -18,6 +18,7 @@
@import "icons";
@import "layout";
@import "left-sidebar";
+@import "mobile-header";
@import "scaffold";
@import "sphinx-extensions";
@import "tables";
diff --git a/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/partials/icons.html b/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/partials/icons.html
index 0a2a6b6f..ea271d30 100644
--- a/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/partials/icons.html
+++ b/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/partials/icons.html
@@ -60,19 +60,6 @@
-
- Auto light/dark mode
-
- Auto light/dark, in light mode