1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 09:20:52 +01:00

Removed scroll-snapping for content tabs

This commit is contained in:
squidfunk 2022-06-04 08:38:27 +02:00
parent 527633e6ba
commit 35210f560f
4 changed files with 3 additions and 5 deletions

View File

@ -34,7 +34,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.fd896c8a.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.c0b802b2.min.css' | url }}">
{% if config.theme.palette %} {% if config.theme.palette %}
{% set palette = config.theme.palette %} {% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.cbb835fc.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.cbb835fc.min.css' | url }}">

View File

@ -91,7 +91,6 @@
max-width: 100%; max-width: 100%;
overflow: auto; overflow: auto;
box-shadow: 0 px2rem(-1px) var(--md-default-fg-color--lightest) inset; box-shadow: 0 px2rem(-1px) var(--md-default-fg-color--lightest) inset;
scroll-snap-type: x proximity;
-ms-overflow-style: none; // IE, Edge -ms-overflow-style: none; // IE, Edge
scrollbar-width: none; // Firefox scrollbar-width: none; // Firefox
@ -141,7 +140,6 @@
font-size: px2rem(12.8px); font-size: px2rem(12.8px);
white-space: nowrap; white-space: nowrap;
border-bottom: px2rem(2px) solid transparent; border-bottom: px2rem(2px) solid transparent;
scroll-snap-align: start;
border-radius: px2rem(2px) px2rem(2px) 0 0; border-radius: px2rem(2px) px2rem(2px) 0 0;
cursor: pointer; cursor: pointer;
transition: transition: