mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed issues with code annotation line height
This commit is contained in:
parent
d5fb8f1770
commit
97c920a1c5
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 %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.ee0f47ba.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.3d1b0ff9.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">
|
||||
|
@ -134,6 +134,9 @@
|
||||
// Annotation is not hidden (e.g. when copying)
|
||||
&:not([hidden]) {
|
||||
display: inline-block;
|
||||
// Hack: ensure that the line height doesn't exceed the line height of the
|
||||
// hosting line, because it will lead to dancing pixels.
|
||||
line-height: 1.325;
|
||||
}
|
||||
|
||||
// Promote children to top on focus
|
||||
|
Loading…
Reference in New Issue
Block a user