Replace MudText with MudChip in EventAttributes component for enhanced styling and visual consistency
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
<span class="numberCircle">@EventDefinition.LevelOfEffort</span>
|
<span class="numberCircle">@EventDefinition.LevelOfEffort</span>
|
||||||
} *@
|
} *@
|
||||||
<MudText Style="font-family: monospace; white-space: pre;">
|
<MudChip T="string" Color="Color.Default" Variant="Variant.Filled" Style="background-color: white; font-family: monospace; white-space: pre;">
|
||||||
@{
|
@{
|
||||||
var loeIcon = AppIcons.LevelOfEffortIcon(EventDefinition.LevelOfEffort);
|
var loeIcon = AppIcons.LevelOfEffortIcon(EventDefinition.LevelOfEffort);
|
||||||
var loeColor = AppIcons.IconColors.GetValueOrDefault(loeIcon, "inherit");
|
var loeColor = AppIcons.IconColors.GetValueOrDefault(loeIcon, "inherit");
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
@RenderFixedWidthChar(charStr, color: color)
|
@RenderFixedWidthChar(charStr, color: color)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</MudText>
|
</MudChip>
|
||||||
|
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|||||||
Reference in New Issue
Block a user