Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 973cb71

Browse files
Merge pull request #813 from Bandwidth/DX-2759
DX-2759 Reduce Spacing on API Reference Pages
2 parents 6ca48c2 + 42ad88e commit 973cb71

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

site/src/css/custom.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,27 @@ div.text--center {
354354
/* Hide the API Spec Version */
355355
.RedocStandalone .api-content div h1 span { display: none !important; }
356356

357+
/* API Content CSS Settings */
358+
.RedocStandalone .api-content div {
359+
padding: 5px;
360+
}
361+
.RedocStandalone .api-content h2 {
362+
padding: 0px;
363+
margin-bottom: 0px;
364+
}
365+
.RedocStandalone .api-content h1 {
366+
padding: 0px;
367+
margin-bottom: 0px;
368+
}
369+
.RedocStandalone .api-content div .react-tabs__tab-panel {
370+
padding: 0px;
371+
margin-bottom: 0px;
372+
}
373+
.RedocStandalone .api-content div .react-tabs__tab {
374+
padding: 0px;
375+
margin-bottom: 0px;
376+
}
377+
357378
/* ------ Headings Overrides ------- */
358379
.RedocStandalone h2 {
359380
color: var(--ifm-font-color-base);

0 commit comments

Comments
 (0)