From 9b30ce7d1abf652ee6f4fece07884c9c0119659e Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Fri, 6 Oct 2023 20:23:12 +0300 Subject: [PATCH] Adjust spacing --- assets/styles/layout/_doc.scss | 12 ++++++++---- components/doc/DocSections.vue | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss index 007aca2ab..2ec5b34c9 100644 --- a/assets/styles/layout/_doc.scss +++ b/assets/styles/layout/_doc.scss @@ -63,11 +63,12 @@ } .doc-intro { - margin-bottom: 2rem; + margin-bottom: 1.5rem; p { font-size: 1.125rem; color: var(--surface-900); + margin: 0; } } @@ -238,6 +239,10 @@ pre { margin: 0; } + + &:not(:last-child) { + margin-bottom: 1rem; + } } .doc-tablewrapper { @@ -254,7 +259,7 @@ th { border-bottom: 1px solid var(--surface-border); - padding: 1rem; + padding: .75rem; text-align: left; text-transform: capitalize; } @@ -265,7 +270,7 @@ } td { - padding: 1rem; + padding: .75rem; border-bottom: 1px solid var(--surface-border); white-space: pre-wrap; line-height: 1.5; @@ -295,7 +300,6 @@ &:first-child { color: var(--primary-color); - font-weight: 700; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; } diff --git a/components/doc/DocSections.vue b/components/doc/DocSections.vue index fc5745fc6..138abecc3 100644 --- a/components/doc/DocSections.vue +++ b/components/doc/DocSections.vue @@ -1,6 +1,6 @@