hides api sections when there are no items to display
This commit is contained in:
parent
b32e57baa7
commit
1f3b153e99
@ -94,6 +94,22 @@ code {
|
|||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.docs-content {
|
||||||
|
h1 {
|
||||||
|
font-size: 24px;
|
||||||
|
opacity: 0.87;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
h4 {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
table th,
|
table th,
|
||||||
.text-subhead,
|
.text-subhead,
|
||||||
.text-body,
|
.text-body,
|
||||||
@ -168,7 +184,19 @@ table td {
|
|||||||
background: $snow;
|
background: $snow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.docs-content .l-sub-section {
|
||||||
|
padding: ($unit * 2) ($unit * 3);
|
||||||
|
h3 {
|
||||||
|
line-height: 1em;
|
||||||
|
}
|
||||||
|
pre:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
.docs-content .card-row {
|
.docs-content .card-row {
|
||||||
|
> div > .card {
|
||||||
|
margin: $unit ($unit * 3);
|
||||||
|
}
|
||||||
> div:first-child > .card {
|
> div:first-child > .card {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user