forked from alemi/upub
fix(web): centered CW text
This commit is contained in:
parent
7f996aa2c1
commit
394c7a487b
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ pub fn Summary(summary: Option<String>, open: bool, children: Children) -> impl
|
||||||
Some(summary) => view! {
|
Some(summary) => view! {
|
||||||
<details class="pa-s" prop:open=open>
|
<details class="pa-s" prop:open=open>
|
||||||
<summary>
|
<summary>
|
||||||
<code class="cw color ml-s w-100">{summary}</code>
|
<code class="cw center color ml-s w-100">{summary}</code>
|
||||||
</summary>
|
</summary>
|
||||||
{children()}
|
{children()}
|
||||||
</details>
|
</details>
|
||||||
|
|
Loading…
Reference in a new issue