mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed code block titles overlaying inline admonitions
This commit is contained in:
parent
314bab53c5
commit
41517023cd
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.120efc48.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.0d6e90a3.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.9647289d.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9647289d.min.css' | url }}">
|
||||||
|
@ -167,7 +167,7 @@
|
|||||||
// Code block title
|
// Code block title
|
||||||
span.filename {
|
span.filename {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: flow-root;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
padding: px2em(9px, 13.6px) px2em(16px, 13.6px);
|
padding: px2em(9px, 13.6px) px2em(16px, 13.6px);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
@ -266,6 +266,11 @@
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
|
// Adjust spacing
|
||||||
|
span.filename {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Code block line numbers - disable user selection, so code can be easily
|
// Code block line numbers - disable user selection, so code can be easily
|
||||||
|
Loading…
x
Reference in New Issue
Block a user