Skip to content

Commit

Permalink
fix #3760 include form button wrapper CSS class for inline-block
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwalker committed Feb 10, 2024
1 parent da02bea commit caa9cc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Oqtane.Client/Themes/Controls/Theme/Login.razor
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
else
{
<form method="post" action="@logouturl" @formname="LogoutForm">
<form method="post" class="app-form-button" action="@logouturl" @formname="LogoutForm">
<input type="hidden" name="__RequestVerificationToken" value="@SiteState.AntiForgeryToken" />
<input type="hidden" name="returnurl" value="@returnurl" />
<button type="submit" class="btn btn-primary">@Localizer["Logout"]</button>
Expand Down
4 changes: 4 additions & 0 deletions Oqtane.Server/wwwroot/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,7 @@ app {
.app-fas {
margin-left: 5px;
}

.app-form-button {
display: inline-block;
}

0 comments on commit caa9cc2

Please sign in to comment.