Refactor BlockPadding to expression-bodied property

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

View File

@ -33,8 +33,5 @@ public partial class CodeBlock : ComponentBase
} }
} }
private string BlockPadding() private string BlockPadding => this.ParentTabs is null ? "padding: 16px !important;" : "padding: 8px !important";
{
return this.ParentTabs is null ? "padding: 16px !important;" : "padding: 8px !important";
}
} }