Skip to content

Commit

Permalink
Merge pull request #197 from ELIXIR-Belgium:h1-fix
Browse files Browse the repository at this point in the history
h1 css fix + better scroll spy
  • Loading branch information
bedroesb authored Aug 10, 2023
2 parents 67c768f + 587cc9a commit fa0f33b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
{% include head.html %}
<body class="d-flex flex-column min-vh-100">
<body class="d-flex flex-column min-vh-100" data-bs-spy="scroll" data-bs-target="#toc-contents" data-bs-smooth-scroll="true" tabindex="0">
{% if jekyll.environment == "development" %}{% include dev-info.html %}{% endif %}
{% include topnav.html %}
<!-- Page Content -->
Expand Down
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1>{{ page.title }}
<div id="toc" class="text-muted sticky-lg-top">
{%- include toc.html %}
</div>
<div id="content" class="mb-5" data-bs-spy="scroll" data-bs-target="#toc-contents" data-bs-smooth-scroll="true" tabindex="0">
<div id="content" class="mb-5">
{{content}}
{% include resource-table-page.html %}
{% include related-pages.html %}
Expand Down
2 changes: 1 addition & 1 deletion assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $container-max-widths: map-merge($container-max-widths, $custom-container-max-wi

/*-----General styling-----*/

#content {
#main {
h1 {
font-family: $font-family-theme;
font-weight: 400;
Expand Down

0 comments on commit fa0f33b

Please sign in to comment.