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
@@ -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 {
margin: 0;
padding: 24px;
margin: 0;
}
.custom-block a {