Skip to content

Commit 2c976e6

Browse files
committed
Fixed VisitCountPerPage.razor namespace and sizing on mobile
1 parent d8405b3 commit 2c976e6

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/LinkDotNet.Blog.Web/Features/Admin/Dashboard/Components/DateRangeSelector.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@using LinkDotNet.Blog.Web.Features.Admin.Dashboard.Services
22
<div class="row mb-3">
3-
<div class="col-2">
3+
<div class="col-sm-6 col-md-4 col-sm-6">
44
<label for="startDate">Since</label>
55
<input type="date" class="form-control" id="startDate" @onchange="StartDateChanged"/>
66
</div>
7-
<div class="col-2">
7+
<div class="col-sm-6 col-md-4 col-sm-6">
88
<label for="endDate">To</label>
99
<input type="date" class="form-control" id="endDate" @onchange="EndDateChanged"/>
1010
</div>

src/LinkDotNet.Blog.Web/Features/Admin/Dashboard/Services/VisitCountPerPage.razor renamed to src/LinkDotNet.Blog.Web/Features/Admin/Dashboard/Components/VisitCountPerPage.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@using LinkDotNet.Blog.Domain
44
@using LinkDotNet.Blog.Infrastructure.Persistence
55
@using LinkDotNet.Blog.Infrastructure.Persistence.Sql
6-
@using LinkDotNet.Blog.Web.Features.Admin.Dashboard.Components
6+
@using LinkDotNet.Blog.Web.Features.Admin.Dashboard.Services
77
@inject BlogDbContext blogDbContext
88

99
<div class="card">

tests/LinkDotNet.Blog.IntegrationTests/Web/Features/Admin/Dashboard/Components/VisitCountPerPageTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using LinkDotNet.Blog.Domain;
77
using LinkDotNet.Blog.TestUtilities;
88
using LinkDotNet.Blog.Web.Features.Admin.Dashboard.Components;
9-
using LinkDotNet.Blog.Web.Features.Admin.Dashboard.Services;
109
using Microsoft.Extensions.DependencyInjection;
1110

1211
namespace LinkDotNet.Blog.IntegrationTests.Web.Features.Admin.Dashboard.Components;

0 commit comments

Comments
 (0)