Pin footer to bottom of page

This commit is contained in:
jvyden 2021-11-20 02:56:55 -05:00
commit f7cea5bec2
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
2 changed files with 6 additions and 3 deletions

View file

@ -5,7 +5,7 @@
@{ @{
Layout = "Layouts/BaseLayout"; Layout = "Layouts/BaseLayout";
} }
<br> <h1>Authentication</h1>
@foreach (AuthenticationAttempt authAttempt in Model.AuthenticationAttempts) @foreach (AuthenticationAttempt authAttempt in Model.AuthenticationAttempts)
{ {
<div style="background-color: lightgray; display: flex; flex-direction: column; vertical-align: center; padding: 3px;"> <div style="background-color: lightgray; display: flex; flex-direction: column; vertical-align: center; padding: 3px;">

View file

@ -34,7 +34,7 @@
<body> <body>
@RenderBody() @RenderBody()
</body> </body>
<footer> <footer style="width: 100%; bottom: 0; position: fixed;">
<p>Page generated by @GitVersionHelper.FullVersion</p> <p>Page generated by @GitVersionHelper.FullVersion</p>
@if (GitVersionHelper.IsDirty) @if (GitVersionHelper.IsDirty)
{ {
@ -42,3 +42,6 @@
} }
</footer> </footer>
</html> </html>
@* width: 100%; *@
@* bottom: 0; *@
@* position: fixed; *@