Skip to content

Commit

Permalink
fix(frontend): alignment on tasks view
Browse files Browse the repository at this point in the history
  • Loading branch information
Thundernerd committed Jan 2, 2024
1 parent 9f761bc commit dca0615
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Mangarr.Frontend/Pages/Settings/Tasks/ScheduleItem.razor
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@using Humanizer
<tr>
<td>
<td class="align-middle">
@Item.Description
</td>
<td>
<td class="align-middle">
@if (Item.PreviousFireTime.HasValue)
{
TimeSpan timeSinceLastRun = DateTimeOffset.UtcNow - Item.PreviousFireTime.Value;
Expand All @@ -14,7 +14,7 @@
<span>-</span>
}
</td>
<td>
<td class="align-middle">
@if (Item.NextFireTime.HasValue)
{
TimeSpan timeUntilNextRun = Item.NextFireTime.Value - DateTimeOffset.UtcNow;
Expand All @@ -28,11 +28,11 @@
<td>
@if (_isRequesting)
{
<input type="button" class="btn btn-primary disabled" value="Request" @onclick="RequestClicked"/>
<input type="button" class="btn btn-primary btn-sm disabled" value="Request" @onclick="RequestClicked"/>
}
else
{
<input type="button" class="btn btn-primary" value="Request" @onclick="RequestClicked"/>
<input type="button" class="btn btn-primary btn-sm" value="Request" @onclick="RequestClicked"/>
}

</td>
Expand Down

0 comments on commit dca0615

Please sign in to comment.