Sizing and spacing in FAQ

This commit is contained in:
Kuba Orlik 2026-08-19 23:20:26 +02:00
parent 12de366f3a
commit 1ecea82a61
2 changed files with 1 additions and 3 deletions

View File

@ -139,13 +139,11 @@
}
.question {
font-size: 14px;
line-height: 21px;
padding: 10px 0;
}
.answer p {
font-size: 14px;
line-height: 21px;
}

View File

@ -41,7 +41,7 @@ export class FaqComponent extends Component<typeof component_arguments> {
<div class={["faq-component", ...classes]}>
<div class="container">
<div class="title-container">
<div class="title">{title} </div>
{title ? <div class="title">{title} </div> : ""}
<div class={["content", `color-${content.color}`]}>
{render_markdown(language, content.text)}{" "}
</div>