mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Simplified pymdownx.tabbed selectors
This commit is contained in:
parent
a348663566
commit
0d9fbcceb4
@ -68,12 +68,14 @@
|
||||
margin-bottom: px2rem(12px);
|
||||
}
|
||||
|
||||
// Emulate original pymdownx.superfences behavior and stretch to full
|
||||
// width and height when when a code block is the only child of a tab
|
||||
> {
|
||||
div.highlight,
|
||||
div.codehilite,
|
||||
pre,
|
||||
table.highlighttable,
|
||||
table.codehilitetable {
|
||||
.highlight,
|
||||
.highlighttable,
|
||||
.codehilite,
|
||||
.codehilitetable {
|
||||
&:only-child {
|
||||
margin: 0 px2rem(-12px);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user