mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed jitter of active content tab indicator
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -34,7 +34,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.33436915.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.c45fdb8e.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.e6a45f82.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">
|
||||||
|
|||||||
@@ -105,7 +105,7 @@
|
|||||||
background: var(--md-accent-fg-color);
|
background: var(--md-accent-fg-color);
|
||||||
transform: translateX(var(--md-indicator-x));
|
transform: translateX(var(--md-indicator-x));
|
||||||
transition:
|
transition:
|
||||||
width 250ms,
|
width 225ms,
|
||||||
transform 250ms;
|
transform 250ms;
|
||||||
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
Reference in New Issue
Block a user