Apache DataFusion SQL Query Engine
doc: fix site sidebar logo position (#5990)
Jeffrey9101d22b2b4e
diff --git a/docs/source/_static/theme_overrides.css b/docs/source/_static/theme_overrides.cssindex 1e972cc6fc..838eab067a 100644--- a/docs/source/_static/theme_overrides.css+++ b/docs/source/_static/theme_overrides.css@@ -45,16 +45,9 @@ code {.navbar-brand {height: auto;width: auto;+ padding: 0 2em;}-a.navbar-brand img {- height: auto;- width: auto;- max-height: 15vh;- max-width: 100%;-}--/* This is the bootstrap CSS style for "table-striped". Since the theme doesnot yet provide an easy way to configure this globaly, it easier to simplyinclude this snippet here than updating each table in all rst files to@@ -69,12 +62,12 @@ add ":class: table-striped" */custimized template, there is more content above the navigation, i.e.larger logo: if we don't decrease the max-height, it will overlap withthe footer.-Details: min(15vh, 110px) for the logo size, 8rem for search box etc*/+Details: 8rem for search box etc*/@media (min-width:720px) {@supports (position:-webkit-sticky) or (position:sticky) {.bd-links {- max-height: calc(100vh - min(15vh, 110px) - 8rem)+ max-height: calc(100vh - 8rem)}}}diff --git a/docs/source/_templates/docs-sidebar.html b/docs/source/_templates/docs-sidebar.htmlindex 20a682b624..2b400b4dca 100644--- a/docs/source/_templates/docs-sidebar.html+++ b/docs/source/_templates/docs-sidebar.html@@ -13,9 +13,9 @@{{ generate_nav_html("sidebar", startdepth=0, maxdepth=4, collapse=False, includehidden=True, titles_only=True) }}{% endif %}</div>-</nav>+ <a class="navbar-brand" href="{{ pathto(master_doc) }}">+ <img src="{{ pathto('_static/images/DataFusion-Logo-Background-White.png', 1) }}" class="logo" alt="logo">+ </a>+</nav>-<a class="navbar-brand" href="{{ pathto(master_doc) }}">- <img src="{{ pathto('_static/images/DataFusion-Logo-Background-White.png', 1) }}" class="logo" alt="logo">-</a>