mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Reverted top-margin of back-to-top button
This commit is contained in:
parent
3649fdac42
commit
8b322d3ffc
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.1fbdda8f.min.css.map
Normal file
1
material/assets/stylesheets/main.1fbdda8f.min.css.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -39,7 +39,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.3d0eea20.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.1fbdda8f.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.f1a3b89f.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.f1a3b89f.min.css' | url }}">
|
||||||
@ -223,7 +223,7 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/bundle.455f5155.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.70097392.min.js' | url }}"></script>
|
||||||
{% for path in config["extra_javascript"] %}
|
{% for path in config["extra_javascript"] %}
|
||||||
<script src="{{ path | url }}"></script>
|
<script src="{{ path | url }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -152,7 +152,7 @@ export function mountBackToTop(
|
|||||||
|
|
||||||
/* Update state */
|
/* Update state */
|
||||||
next([{ hidden }, { height }]) {
|
next([{ hidden }, { height }]) {
|
||||||
setBackToTopOffset(el, height + 12)
|
setBackToTopOffset(el, height + 16)
|
||||||
if (hidden)
|
if (hidden)
|
||||||
setBackToTopState(el, "hidden")
|
setBackToTopState(el, "hidden")
|
||||||
else
|
else
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
// Back-to-top button
|
// Back-to-top button
|
||||||
.md-top {
|
.md-top {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: px2rem(48px + 12px);
|
top: px2rem(48px + 16px);
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
margin-left: 50%;
|
margin-left: 50%;
|
||||||
padding: px2rem(8px) px2rem(16px);
|
padding: px2rem(8px) px2rem(16px);
|
||||||
|
Loading…
Reference in New Issue
Block a user