Skip to content

Commit

Permalink
Merge pull request #12 from IATI/minor_changes
Browse files Browse the repository at this point in the history
Sticky toc & IATI favicon
  • Loading branch information
tillywoodfield authored Oct 1, 2024
2 parents 685edfa + 491254a commit 5b56a7c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions iati_sphinx_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
def setup(app: sphinx.application.Sphinx) -> None:
app.add_html_theme("iati_sphinx_theme", path.abspath(path.dirname(__file__)))
app.config["html_permalinks_icon"] = "#"
app.config["html_favicon"] = "static/favicon-16x16.png"
Binary file added iati_sphinx_theme/static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions styles/_globaltoc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
@media (min-width: $screen-lg) {
flex: 0 0 250px;
align-self: flex-start;
position: sticky;
top: 0;
max-height: 100vh;
}

& .caption {
Expand Down

0 comments on commit 5b56a7c

Please sign in to comment.