Formatting

This commit is contained in:
Thorsten Sommer 2025-05-29 21:54:38 +02:00
parent b963ecc18b
commit c6af287c89
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -1,15 +1,22 @@

@if (!this.IsInline)
@if (!this.IsInline)
{
@if (this.ParentTabs is null)
{
<MudPaper Class="code-block no-elevation" Style="@this.BlockPadding()">
<pre><code>@this.ChildContent</code></pre>
<MudPaper Class="code-block no-elevation" Style="@this.BlockPadding">
<pre>
<code>
@this.ChildContent
</code>
</pre>
</MudPaper>
}
}
else
{
<span class="inline-code-block"><kbd>@this.ChildContent</kbd></span>
<span class="inline-code-block">
<kbd>
@this.ChildContent
</kbd>
</span>
}