Skip to content

Commit

Permalink
Increase dt specificity to only target <dt> with "id" attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
hoetmaaiers committed Nov 5, 2020
1 parent e1a7a9a commit bf57f9d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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.cd5db6f20afe7d7062e09d9e7d1259b0.css', 1) }}" rel="stylesheet" />
<link href="{{ pathto('_static/css/index.b3fa5b9aeac04ae33e0073fadc1130d8.css', 1) }}" rel="stylesheet" />
{% endmacro %}

{% macro head_js_preload() %}
<link rel="preload" as="script" href="{{ pathto('_static/js/index.2062c8d6c86e67a46086.js', 1) }}">
<link rel="preload" as="script" href="{{ pathto('_static/js/index.2e394030c035d5864108.js', 1) }}">
{% endmacro %}

{% macro body_post() %}
<script src="{{ pathto('_static/js/index.2062c8d6c86e67a46086.js', 1) }}"></script>
<script src="{{ pathto('_static/js/index.2e394030c035d5864108.js', 1) }}"></script>
{% endmacro %}
2 changes: 1 addition & 1 deletion src/scss/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pre {
box-shadow: 1px 1px 1px #d8d8d8;
}

dt {
dt[id]:not([id='']) {
&::before {
// offsetting html anchor titles to adjust for fixed header
display: block;
Expand Down

0 comments on commit bf57f9d

Please sign in to comment.