1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00

Fixed iframe height not being adjustable

This commit is contained in:
squidfunk 2020-05-03 12:56:07 +02:00
parent 4545c17d10
commit 52c3daf497
7 changed files with 12 additions and 8 deletions

View File

@ -5,8 +5,8 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.8caa27b7.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.37585f48.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.37585f48.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.c8609f9b.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.c8609f9b.min.css.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.270f946c.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.270f946c.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.85bb4ebe.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.85bb4ebe.min.css.map"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,7 +41,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.c8609f9b.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.270f946c.min.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.85bb4ebe.min.css' | url }}">
{% endif %}

View File

@ -376,13 +376,17 @@ kbd {
}
// Limit width to container, scale height proportionally
iframe,
img,
svg {
max-width: 100%;
height: auto;
}
// Limit width to container
iframe {
max-width: 100%;
}
// Data tables
table:not([class]) {
display: inline-block;