mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:39:48 +00:00
Add support for customizable right margin in the ProfileSelection component
This commit is contained in:
parent
a695e3c05f
commit
ea671a1fcd
@ -14,11 +14,14 @@ public partial class ProfileSelection : ComponentBase
|
|||||||
|
|
||||||
[Parameter]
|
[Parameter]
|
||||||
public string MarginLeft { get; set; } = "ml-3";
|
public string MarginLeft { get; set; } = "ml-3";
|
||||||
|
|
||||||
|
[Parameter]
|
||||||
|
public string MarginRight { get; set; } = string.Empty;
|
||||||
|
|
||||||
[Inject]
|
[Inject]
|
||||||
private SettingsManager SettingsManager { get; init; } = null!;
|
private SettingsManager SettingsManager { get; init; } = null!;
|
||||||
|
|
||||||
private string MarginClass => $"{this.MarginLeft}";
|
private string MarginClass => $"{this.MarginLeft} {this.MarginRight}";
|
||||||
|
|
||||||
private async Task SelectionChanged(Profile profile)
|
private async Task SelectionChanged(Profile profile)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user