VEGA-4928 Исправление отображения контента details и размер шрифта в содержании

This commit is contained in:
Русович Виолетта Игоревна
2025-12-19 14:27:25 +00:00
committed by Речкина Елена Валерьевна
parent a7e57c575d
commit 0ad71bd579
3 changed files with 33 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "docs", "name": "docs",
"version": "0.6.4-search3", "version": "0.6.4-content",
"description": "Beeline Cloud docs", "description": "Beeline Cloud docs",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@@ -273,9 +273,35 @@
} }
} }
.custom-block.details {
h1, h2, h3, h4, h5, ul, p {
margin: 0 24px;
&:last-child {
margin-bottom: 24px !important;
}
&:first-child {
margin-top: 24px !important;
}
}
ol {
padding: 0 24px;
&:last-child {
margin-bottom: 24px !important;
}
&:first-child {
margin-top: 24px !important;
}
}
}
.custom-block.details summary + p { .custom-block.details summary + p {
margin: 0;
padding: 24px; padding: 24px;
margin: 0;
} }
.custom-block a { .custom-block a {
@@ -4,8 +4,8 @@
.VPDocAside { .VPDocAside {
.outline-link { .outline-link {
font-weight: 400; font-weight: 400;
font-size: 17px; font-size: 15px;
line-height: 22px; line-height: 18px;
letter-spacing: 0.2px; letter-spacing: 0.2px;
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;
@@ -19,10 +19,11 @@
} }
.outline-title { .outline-title {
font-size: 17px; font-size: 15px;
font-weight: 500; font-weight: 500;
line-height: 22px; line-height: 18px;
padding-bottom: 16px; padding-bottom: 16px;
color: colors.$color-text-black-active;
} }
.content { .content {