1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

Fixed dedented code blocks in annotations

This commit is contained in:
squidfunk 2021-11-14 09:04:50 +01:00
parent 1d6d8198ab
commit 417ab30c65
6 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,7 +34,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.1eb8fdc6.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.d5e8cd35.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">

View File

@ -275,7 +275,7 @@
@include break-to-device(mobile) {
// Top-level code block
> .highlight {
&.md-content__inner > .highlight {
margin: 1em px2rem(-16px);
// Highlighted line
@ -291,7 +291,7 @@
}
// Top-level code block with line numbers
> .highlighttable {
&.md-content__inner > > .highlighttable {
margin: 1em px2rem(-16px);
border-radius: 0;

View File

@ -78,12 +78,12 @@
font-size: px2rem(12.8px);
// Adjust spacing on first child
> :first-child {
&.md-typeset > :first-child {
margin-top: 0;
}
// Adjust spacing on last child
> :last-child {
&.md-typeset > :last-child {
margin-bottom: 0;
}
}