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
1 change: 0 additions & 1 deletion dist/assets/stylesheets/modern/main.1e989742.min.css

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/stylesheets/modern/main.25059db2.min.css

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.1e989742.min.css' | url %}
{% set href = 'assets/stylesheets/modern/main.25059db2.min.css' | url %}
{% else %}
{% set href = 'assets/stylesheets/classic/main.d9d44b50.min.css' | url %}
{% endif %}
Expand Down
3 changes: 3 additions & 0 deletions src/assets/stylesheets/modern/main/components/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ html {
// `font-size` of `12px` if the system language is set to Chinese. For this
// reason we just double the `font-size` and set it to `20px`.
font-size: 125%;
// Ensure that there's always enough space for scrollbars to avoid layout
// shifts without affecting operating systems that use overlay scrollbars
scrollbar-gutter: stable;

// [screen medium +]: Set base `font-size` to `11px`
@include break-from-device(screen medium) {
Expand Down