Skip to content

Commit

Permalink
Fix (responsive) navbar dropdown menu (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche authored Feb 18, 2021
1 parent 270bf6c commit e807487
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pydata_sphinx_theme/static/webpack-macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

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

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

{% macro body_post() %}
<script src="{{ pathto('_static/js/index.014cad6f3a039303089e.js', 1) }}"></script>
<script src="{{ pathto('_static/js/index.4bc14ce28f4cf826ca84.js', 1) }}"></script>
{% endmacro %}
5 changes: 2 additions & 3 deletions src/scss/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
.navbar {
position: fixed;
height: var(--header-height);
min-height: var(--header-height);
width: 100%;
padding: 0;
overflow: hidden;

.container-xl {
height: 100%;
Expand All @@ -12,7 +11,7 @@

.navbar-brand {
position: relative;
height: 100%;
height: var(--header-height);
width: auto;
padding: 0.5rem 0;

Expand Down

0 comments on commit e807487

Please sign in to comment.