Skip to content

Commit c65c07f

Browse files
Aligned alert dismiss button
1 parent 15088df commit c65c07f

File tree

1 file changed

+7
-5
lines changed
  • aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Views/Shared

1 file changed

+7
-5
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Views/Shared/_Layout.cshtml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,13 @@
151151
@foreach (var alertMessage in AlertManager.Alerts)
152152
{
153153
<div class="alert [email protected]().ToLower() @(alertMessage.Dismissible ? "alert-dismisable" : "")" role="alert">
154-
<h4 class="alert-heading">@alertMessage.Title</h4>
155-
@if (alertMessage.Dismissible)
156-
{
157-
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
158-
}
154+
<h4 class="alert-heading">
155+
@alertMessage.Title
156+
@if (alertMessage.Dismissible)
157+
{
158+
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
159+
}
160+
</h4>
159161
<p>@alertMessage.Text</p>
160162
</div>
161163
}

0 commit comments

Comments
 (0)