diff --git a/app/MindWork AI Studio/Components/MudJustifiedText.cs b/app/MindWork AI Studio/Components/MudJustifiedText.cs new file mode 100644 index 00000000..887308e6 --- /dev/null +++ b/app/MindWork AI Studio/Components/MudJustifiedText.cs @@ -0,0 +1,16 @@ +namespace AIStudio.Components; + +public class MudJustifiedText : MudText +{ + #region Overrides of ComponentBase + + protected override async Task OnInitializedAsync() + { + this.Align = Align.Justify; + this.Style = "hyphens: auto; word-break: auto-phrase;"; + + await base.OnInitializedAsync(); + } + + #endregion +} \ No newline at end of file