diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html
index 822e6ed..d5308c0 100644
--- a/python_docs_theme/layout.html
+++ b/python_docs_theme/layout.html
@@ -13,13 +13,15 @@
{# modified from sphinx/themes/basic/searchbox.html #}
{%- if builder != "htmlhelp" %}
-
-
+
+
+
+
{%- endif %}
{%- endmacro %}
diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css
index 33f74d7..f85f405 100644
--- a/python_docs_theme/static/pydoctheme.css
+++ b/python_docs_theme/static/pydoctheme.css
@@ -22,6 +22,14 @@ div.related:first-child {
border-bottom: 1px solid #ccc;
}
+.flex.container {
+ display: flex;
+}
+
+.fill-width {
+ flex: 1;
+}
+
.inline-search {
display: inline;
}