Adjust spacing

pull/4591/head
Cagatay Civici 2023-10-06 20:23:12 +03:00
parent ef6c3219cb
commit 9b30ce7d1a
2 changed files with 9 additions and 5 deletions

View File

@ -63,11 +63,12 @@
} }
.doc-intro { .doc-intro {
margin-bottom: 2rem; margin-bottom: 1.5rem;
p { p {
font-size: 1.125rem; font-size: 1.125rem;
color: var(--surface-900); color: var(--surface-900);
margin: 0;
} }
} }
@ -238,6 +239,10 @@
pre { pre {
margin: 0; margin: 0;
} }
&:not(:last-child) {
margin-bottom: 1rem;
}
} }
.doc-tablewrapper { .doc-tablewrapper {
@ -254,7 +259,7 @@
th { th {
border-bottom: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border);
padding: 1rem; padding: .75rem;
text-align: left; text-align: left;
text-transform: capitalize; text-transform: capitalize;
} }
@ -265,7 +270,7 @@
} }
td { td {
padding: 1rem; padding: .75rem;
border-bottom: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border);
white-space: pre-wrap; white-space: pre-wrap;
line-height: 1.5; line-height: 1.5;
@ -295,7 +300,6 @@
&:first-child { &:first-child {
color: var(--primary-color); color: var(--primary-color);
font-weight: 700;
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace;
} }

View File

@ -1,6 +1,6 @@
<template> <template>
<template v-for="(doc, i) of docs" :key="doc.label + '_' + i"> <template v-for="(doc, i) of docs" :key="doc.label + '_' + i">
<section class="py-3"> <section class="py-4">
<template v-if="doc.children"> <template v-if="doc.children">
<div :id="doc.id"> <div :id="doc.id">
<DocSectionText :id="doc.id" :label="doc.label"> <DocSectionText :id="doc.id" :label="doc.label">