mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed margin of superfences code on top-level and mobile
This commit is contained in:
parent
318dec57ce
commit
5b7b3571ad
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -56,7 +56,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/application-palette.a8b3c06d.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/application-palette.a8b3c06d.css' | url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -209,7 +209,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% block scripts %}
|
{% 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" %}
|
{% if lang.t("search.language") != "en" %}
|
||||||
{% set languages = lang.t("search.language").split(",") %}
|
{% set languages = lang.t("search.language").split(",") %}
|
||||||
{% if languages | length and languages[0] != "" %}
|
{% if languages | length and languages[0] != "" %}
|
||||||
|
@ -89,10 +89,11 @@
|
|||||||
border: 0;
|
border: 0;
|
||||||
border-top: px2rem(1px) solid $md-color-black--lightest;
|
border-top: px2rem(1px) solid $md-color-black--lightest;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
|
||||||
|
|
||||||
// [mobile -]: Stretch to whole width
|
// Actual container with code, overflowing
|
||||||
@include break-to-device(mobile) {
|
code {
|
||||||
|
padding: px2rem(10.5px) px2rem(16px);
|
||||||
|
}
|
||||||
|
|
||||||
// First tab label
|
// First tab label
|
||||||
input:first-child + label {
|
input:first-child + label {
|
||||||
|
Loading…
Reference in New Issue
Block a user