mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-30 18:24:35 +01:00
Fixed table headers not wrapping correctly
This commit is contained in:
parent
a031f66f8d
commit
b9ce0862ec
@ -5,8 +5,8 @@
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.581c8fc6.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.5eca75d3.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.5eca75d3.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.4a9ebb79.min.css",
|
||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.4a9ebb79.min.css.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.593e13b9.min.css",
|
||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.593e13b9.min.css.map",
|
||||
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.9514a156.min.css",
|
||||
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.9514a156.min.css.map",
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.ff0a5ce4.min.css",
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
material/assets/stylesheets/main.593e13b9.min.css
vendored
Normal file
3
material/assets/stylesheets/main.593e13b9.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.593e13b9.min.css.map
Normal file
1
material/assets/stylesheets/main.593e13b9.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.4a9ebb79.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.593e13b9.min.css' | url }}">
|
||||
{% if palette.scheme or palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ff0a5ce4.min.css' | url }}">
|
||||
{% endif %}
|
||||
|
@ -479,6 +479,11 @@ kbd {
|
||||
0 0 px2rem(1px) hsla(0, 0%, 0%, 0.1);
|
||||
touch-action: auto;
|
||||
|
||||
// Reset display mode so table header wraps correctly when printing
|
||||
@media print {
|
||||
display: table;
|
||||
}
|
||||
|
||||
// Due to margin collapse because of the necessary inline-block hack, we
|
||||
// cannot increase the bottom margin on the table, so we just increase the
|
||||
// top margin on the following element
|
||||
@ -596,8 +601,13 @@ kbd {
|
||||
margin-bottom: 0.5em;
|
||||
padding: 0 px2rem(16px);
|
||||
|
||||
// Reset display mode so table header wraps correctly when printing
|
||||
@media print {
|
||||
display: block;
|
||||
}
|
||||
|
||||
// Data tables
|
||||
table {
|
||||
html & table {
|
||||
display: table;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user