1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2025-02-21 12:19:44 +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 %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% 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 %} {% if config.theme.palette %}
{% set palette = config.theme.palette %} {% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">

View File

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

View File

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