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 %} {% 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] != "" %}

View File

@ -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 {