From ea671a1fcd0e73f4eb7f270edd8473096bcc1158 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Mon, 10 Feb 2025 22:15:02 +0100 Subject: [PATCH] Add support for customizable right margin in the ProfileSelection component --- app/MindWork AI Studio/Components/ProfileSelection.razor.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/MindWork AI Studio/Components/ProfileSelection.razor.cs b/app/MindWork AI Studio/Components/ProfileSelection.razor.cs index 55f2fa99..d2b41a57 100644 --- a/app/MindWork AI Studio/Components/ProfileSelection.razor.cs +++ b/app/MindWork AI Studio/Components/ProfileSelection.razor.cs @@ -14,11 +14,14 @@ public partial class ProfileSelection : ComponentBase [Parameter] public string MarginLeft { get; set; } = "ml-3"; + + [Parameter] + public string MarginRight { get; set; } = string.Empty; [Inject] private SettingsManager SettingsManager { get; init; } = null!; - private string MarginClass => $"{this.MarginLeft}"; + private string MarginClass => $"{this.MarginLeft} {this.MarginRight}"; private async Task SelectionChanged(Profile profile) {