From bb6a22192c52418a1d6487b30c434757ddacad0f Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Tue, 8 Feb 2022 14:30:18 -0500 Subject: [PATCH] Improve spacing at top of navs --- frontend/src/app/components/docs/api-docs-nav.component.scss | 4 ---- frontend/src/app/components/docs/api-docs.component.scss | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/components/docs/api-docs-nav.component.scss b/frontend/src/app/components/docs/api-docs-nav.component.scss index dde774cd8..3d1b17324 100644 --- a/frontend/src/app/components/docs/api-docs-nav.component.scss +++ b/frontend/src/app/components/docs/api-docs-nav.component.scss @@ -5,10 +5,6 @@ p { margin: 15px 0 10px 0; } -p:first-child { - margin-top: 0; -} - a { color: #fff; text-decoration: none; diff --git a/frontend/src/app/components/docs/api-docs.component.scss b/frontend/src/app/components/docs/api-docs.component.scss index d03608e92..9aae0278b 100644 --- a/frontend/src/app/components/docs/api-docs.component.scss +++ b/frontend/src/app/components/docs/api-docs.component.scss @@ -78,6 +78,7 @@ li.nav-item { #doc-nav-desktop { width: 300px; + margin-top: -15px; } #doc-nav-desktop.relative { @@ -154,6 +155,10 @@ li.nav-item { z-index: 100; } +#doc-nav-mobile .card-body { + padding: 0 1.25rem 1.25rem 1.25rem; +} + #doc-nav-mobile > div { background-color: #2d3348; z-index: 100;