File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
tilework.ui/Components/Forms Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 55
66@namespace Tilework.Ui.Components.Forms
77
8+ <style >
9+ .condition-prefix {
10+ display :inline-block ;
11+ width :2ch ;
12+ text-align :center ;
13+ }
14+ </style >
815
916<MudStack Spacing =" 1" Class =" ma-1" StretchItems =" StretchItems.Start" Row >
1017 <MudText Typo =" Typo.subtitle2" >@Condition.Type.GetDescription() </MudText >
1623 {
1724 var index = i ;
1825 <MudStack AlignItems =" AlignItems.Center" StretchItems =" StretchItems.Middle" Row >
19- <MudText Typo =" Typo.subtitle2" Style = " display:inline-block; width:2ch; text-align:center; " ><strong >@( index == 0 ? " =" : " or" ) </strong ></MudText >
26+ <MudText Typo =" Typo.subtitle2" Class = " condition-prefix " ><strong >@( index == 0 ? " =" : " or" ) </strong ></MudText >
2027 <MudTextField @bind-Value =" Condition.Values[index]" Variant =" Variant.Outlined" Required =" true" Margin =" Margin.Dense" />
2128 <MudIconButton Icon =" @Icons.Material.Filled.Delete" Variant =" Variant.Text" Size =" Size.Small" OnClick =" @(() => RemoveValue(index))" />
2229 </MudStack >
2330 }
2431 <MudStack AlignItems =" AlignItems.Start" Row >
32+ <MudText Typo =" Typo.subtitle2" Class =" condition-prefix" ></MudText >
2533 <MudButton Size =" Size.Small" Variant =" Variant.Text" Color =" Color.Primary" StartIcon =" @Icons.Material.Filled.Add" OnClick =" AddValue" >
26- Add OR condition value
34+ Add
2735 </MudButton >
2836 </MudStack >
2937</MudStack >
You can’t perform that action at this time.
0 commit comments