Skip to content

Commit e807487

Browse files
Fix (responsive) navbar dropdown menu (#313)
1 parent 270bf6c commit e807487

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

pydata_sphinx_theme/static/css/index.951c8c8e3af89de180a2f03968e0e7cb.css renamed to pydata_sphinx_theme/static/css/index.361b90cc13c3b373e3e2df043d87d1bd.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pydata_sphinx_theme/static/webpack-macros.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
{% macro head_pre_bootstrap() %}
1919
<link href="{{ pathto('_static/css/theme.css', 1) }}" rel="stylesheet" />
20-
<link href="{{ pathto('_static/css/index.951c8c8e3af89de180a2f03968e0e7cb.css', 1) }}" rel="stylesheet" />
20+
<link href="{{ pathto('_static/css/index.361b90cc13c3b373e3e2df043d87d1bd.css', 1) }}" rel="stylesheet" />
2121
{% endmacro %}
2222

2323
{% macro head_js_preload() %}
24-
<link rel="preload" as="script" href="{{ pathto('_static/js/index.014cad6f3a039303089e.js', 1) }}">
24+
<link rel="preload" as="script" href="{{ pathto('_static/js/index.4bc14ce28f4cf826ca84.js', 1) }}">
2525
{% endmacro %}
2626

2727
{% macro body_post() %}
28-
<script src="{{ pathto('_static/js/index.014cad6f3a039303089e.js', 1) }}"></script>
28+
<script src="{{ pathto('_static/js/index.4bc14ce28f4cf826ca84.js', 1) }}"></script>
2929
{% endmacro %}

src/scss/_navbar.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
.navbar {
22
position: fixed;
3-
height: var(--header-height);
3+
min-height: var(--header-height);
44
width: 100%;
55
padding: 0;
6-
overflow: hidden;
76

87
.container-xl {
98
height: 100%;
@@ -12,7 +11,7 @@
1211

1312
.navbar-brand {
1413
position: relative;
15-
height: 100%;
14+
height: var(--header-height);
1615
width: auto;
1716
padding: 0.5rem 0;
1817

0 commit comments

Comments
 (0)