Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{% endblock %}
{% block styles %}
{% if config.theme.variant == "modern" %}
{% set href = 'assets/stylesheets/modern/main.d4922b3c.min.css' | url %}
{% set href = 'assets/stylesheets/modern/main.f28b7ce3.min.css' | url %}
{% else %}
{% set href = 'assets/stylesheets/classic/main.9a39631f.min.css' | url %}
{% endif %}
Expand Down
7 changes: 6 additions & 1 deletion src/assets/stylesheets/modern/main/components/_top.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
// Back-to-top button
.md-top {
position: fixed;
top: px2rem(48px + 16px);
// We must use !important here, since the JavaScript will set `top` to the
// actual value dynamically, as the header might have a variable height, and
// we can't change the JavaScript, as we want to keep the old behavior for
// the classic theme.
top: initial !important;
bottom: px2rem(32px);
z-index: 2;
display: flex;
gap: px2rem(8px);
Expand Down
Loading