mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-18 00:46:47 +01:00
Fixed jitter of active content tab indicator
This commit is contained in:
parent
634f863a69
commit
ac0a5391bb
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: "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user