mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed scroll bar on tables inside admonitions
This commit is contained in:
parent
fcbd47c2cb
commit
447d409b81
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.7076e726.min.js",
|
"assets/javascripts/bundle.js": "assets/javascripts/bundle.5d04593e.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.7076e726.min.js.map",
|
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.5d04593e.min.js.map",
|
||||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.b0b43276.min.js",
|
"assets/javascripts/vendor.js": "assets/javascripts/vendor.b0b43276.min.js",
|
||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.b0b43276.min.js.map",
|
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.b0b43276.min.js.map",
|
||||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.784c5235.min.js",
|
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.784c5235.min.js",
|
||||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.784c5235.min.js.map",
|
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.784c5235.min.js.map",
|
||||||
"assets/stylesheets/main.css": "assets/stylesheets/main.1fb2593e.min.css",
|
"assets/stylesheets/main.css": "assets/stylesheets/main.0243f7e4.min.css",
|
||||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
|
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
|
||||||
}
|
}
|
1
material/assets/stylesheets/main.0243f7e4.min.css
vendored
Normal file
1
material/assets/stylesheets/main.0243f7e4.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.1fb2593e.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.0243f7e4.min.css' | url }}">
|
||||||
{% if palette.primary or palette.accent %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -178,7 +178,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/vendor.b0b43276.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/vendor.b0b43276.min.js' | url }}"></script>
|
||||||
<script src="{{ 'assets/javascripts/bundle.7076e726.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.5d04593e.min.js' | url }}"></script>
|
||||||
{%- set translations = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
"clipboard.copy",
|
"clipboard.copy",
|
||||||
|
@ -488,7 +488,7 @@ kbd {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Data table wrapper, in case JavaScript is available
|
// Data table wrapper, in case JavaScript is available
|
||||||
.md-typeset__table {
|
&__table {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
padding: 0 px2rem(16px);
|
padding: 0 px2rem(16px);
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
.admonition {
|
.admonition {
|
||||||
margin: 1.5625em 0;
|
margin: 1.5625em 0;
|
||||||
padding: 0 px2rem(12px);
|
padding: 0 px2rem(12px);
|
||||||
overflow: auto;
|
overflow: hidden;
|
||||||
font-size: ms(-1);
|
font-size: ms(-1);
|
||||||
border-left: px2rem(4px) solid $clr-blue-a200;
|
border-left: px2rem(4px) solid $clr-blue-a200;
|
||||||
border-radius: px2rem(2px);
|
border-radius: px2rem(2px);
|
||||||
@ -73,6 +73,16 @@
|
|||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Wrapper for scrolling on overflow
|
||||||
|
.md-typeset__scrollwrap {
|
||||||
|
margin: 1em px2rem(-12px);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Data table wrapper, in case JavaScript is available
|
||||||
|
.md-typeset__table {
|
||||||
|
padding: 0 px2rem(12px);
|
||||||
|
}
|
||||||
|
|
||||||
// Build representational classes
|
// Build representational classes
|
||||||
@each $names, $tint in (
|
@each $names, $tint in (
|
||||||
abstract summary tldr: $clr-light-blue-a400,
|
abstract summary tldr: $clr-light-blue-a400,
|
||||||
|
Loading…
Reference in New Issue
Block a user