Fixed jitter of active content tab indicator

This commit is contained in:
squidfunk 2021-12-19 18:13:00 +01:00
parent 634f863a69
commit ac0a5391bb
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@
{% endif %}
{% endblock %}
{% 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 %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">

View File

@ -105,7 +105,7 @@
background: var(--md-accent-fg-color);
transform: translateX(var(--md-indicator-x));
transition:
width 250ms,
width 225ms,
transform 250ms;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
content: "";