Revert "Fixed sidebar on Firefox mobile (#8083)" (#8084)

This reverts commit a303a01c58.
This commit is contained in:
Martin Donath
2025-03-13 11:07:36 +01:00
committed by GitHub
parent a303a01c58
commit 742150dec1
5 changed files with 9 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -44,7 +44,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.4af4bdda.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.8608ea7d.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">

View File

@@ -124,19 +124,15 @@
margin: 0 px2rem(4px);
overflow-y: auto;
scrollbar-color: var(--md-default-fg-color--lighter) transparent;
scrollbar-gutter: stable;
// Hack: Chrome 81+ exhibits a strange bug, where it scrolls the container
// to the bottom if `scroll-snap-type` is set on the initial render. For
// this reason, we disable scroll snapping until this is resolved (#1667).
// scroll-snap-type: y mandatory;
scrollbar-width: thin;
// Hack: promote to own layer to reduce jitter
backface-visibility: hidden;
// [tablet landscape +]: Show sidebars
@include break-from-device(tablet landscape) {
scrollbar-gutter: stable;
// Hack: Chrome 81+ exhibits a strange bug, where it scrolls the container
// to the bottom if `scroll-snap-type` is set on the initial render. For
// this reason, we disable scroll snapping until this is resolved (#1667).
// scroll-snap-type: y mandatory;
scrollbar-width: thin;
}
// Webkit scrollbar
&::-webkit-scrollbar {
width: px2rem(4px);