Fixed rendering issue for details on MS Edge (#753)

Fixes issue where details are not rendered properly in MS Edge due to the fact that details tags are not styled as block elements.
This commit is contained in:
Isaac Muse 2018-04-09 01:35:18 -06:00 committed by Martin Donath
parent 76d72da1b0
commit a3642c779f
6 changed files with 13 additions and 12 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

@ -48,7 +48,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.78aab2dc.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.8d40d89b.css">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.6079476c.css">
{% endif %}
@ -170,7 +170,7 @@
{% endblock %}
</div>
{% block scripts %}
<script src="{{ base_url }}/assets/javascripts/application.189d7058.js"></script>
<script src="{{ base_url }}/assets/javascripts/application.71eb6834.js"></script>
{% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %}

14
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "mkdocs-material",
"version": "2.6.3",
"version": "2.7.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -1955,9 +1955,9 @@
"dev": true
},
"clipboard": {
"version": "1.7.1",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-1.7.1.tgz",
"integrity": "sha1-Ng1taUbpmnof7zleQrqStem1oWs=",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.0.tgz",
"integrity": "sha512-gXzHBlzEVqCk2b8Wpkil89S0WSMAX7eZho2zANX+EEEa9LMutGe9ICU+wHRzsH7cCHaCbUzj900P+AXOM0FE3A==",
"dev": true,
"requires": {
"good-listener": "1.2.2",
@ -12369,9 +12369,9 @@
}
},
"stylelint-scss": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-2.3.0.tgz",
"integrity": "sha512-gYLw1jma/BUZ9eQ3hsrL/7bddQN2BJ13oSp0A0kOqje4hBrSCrUjf7rmpnK8taRWoU3KASwMo4apWg+YopDK5Q==",
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-3.0.0.tgz",
"integrity": "sha512-Lam8+VuQaeXpSZ57L+zRl7m2HnDlAmyojS+rplsqMk50enJrKMwGTbLov4kN/Zk0Am5+8TbkjgwD9tSoC6jDyQ==",
"dev": true,
"requires": {
"lodash": "4.17.5",

View File

@ -31,6 +31,7 @@
details {
@extend .admonition;
display: block;
padding-top: 0;
// Rotate title icon