mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 15:39:46 +00:00
Add support for customizable right margin in the ProfileSelection component
This commit is contained in:
parent
a695e3c05f
commit
ea671a1fcd
@ -15,10 +15,13 @@ 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