mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed ellipsis in footer due to potential WebKit rendering bug
This commit is contained in:
parent
21b7bc4999
commit
37e6f430f9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
material/assets/stylesheets/main.a617204b.min.css
vendored
Normal file
2
material/assets/stylesheets/main.a617204b.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.a617204b.min.css.map
Normal file
1
material/assets/stylesheets/main.a617204b.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -34,7 +34,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.9f2461a2.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.a617204b.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">
|
||||
|
@ -45,6 +45,11 @@
|
||||
// Footer link to previous and next page
|
||||
&__link {
|
||||
display: flex;
|
||||
// Hack: some browsers induce ellipsis on flex children that have are set
|
||||
// to `overflow: hidden` and `text-overflow: ellipsis`. Enforcing growth by
|
||||
// a tiny factor seems to get rid of the ellipsis and renders the text as
|
||||
// it should - see https://bit.ly/2ZUCXQ8
|
||||
flex-grow: 0.01;
|
||||
padding-top: px2rem(28px);
|
||||
padding-bottom: px2rem(8px);
|
||||
outline-color: var(--md-accent-fg-color);
|
||||
|
Loading…
Reference in New Issue
Block a user