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

Fixed margin of superfences code on top-level and mobile

This commit is contained in:
squidfunk 2020-02-08 22:05:31 +01:00
parent 318dec57ce
commit 5b7b3571ad
5 changed files with 9 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -56,7 +56,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/application.f3fac315.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/application.adb8469c.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/application-palette.a8b3c06d.css' | url }}">
{% endif %}
@ -209,7 +209,7 @@
{% endblock %}
</div>
{% block scripts %}
<script src="{{ 'assets/javascripts/application.38aa6250.js' | url }}"></script>
<script src="{{ 'assets/javascripts/application.df00da5d.js' | url }}"></script>
{% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %}

View File

@ -89,10 +89,11 @@
border: 0;
border-top: px2rem(1px) solid $md-color-black--lightest;
border-radius: 0;
}
// [mobile -]: Stretch to whole width
@include break-to-device(mobile) {
// Actual container with code, overflowing
code {
padding: px2rem(10.5px) px2rem(16px);
}
// First tab label
input:first-child + label {