Skip to content

Commit

Permalink
Merge pull request #45 from MissouriMRDT/fixes/replace-radzen-text
Browse files Browse the repository at this point in the history
Remove RadzenText from auto drive power
  • Loading branch information
three-halves authored Feb 3, 2025
2 parents b4080a2 + 55c4f70 commit ce9a235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Basestation_Software.Web/Core/Components/AutoDrivePower.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<div class="card-body">

<RadzenStack Orientation="Orientation.Horizontal" AlignItems="AlignItems.Center" Gap="1rem" JustifyContent="JustifyContent.Center">
<RadzenText>Max Speed</RadzenText>
<RadzenText style="width: 40px">@(_maxSpeed / 10f)%</RadzenText>
<p style="margin: 0">Max Speed</p>
<p style="width: 60px; margin: 0">@(_maxSpeed / 10f)%</p>
<RadzenSlider TValue="int" Value=@_maxSpeed Change="@(v => _maxSpeed = v)" Min="0" Max="1000" />
<RadzenButton ButtonStyle="ButtonStyle.Secondary" Click="SendSpeed">Submit</RadzenButton>
</RadzenStack>
Expand Down

0 comments on commit ce9a235

Please sign in to comment.