File tree 3 files changed +13
-9
lines changed
src/LinkDotNet.Blog.Web/Features/Home/Components
3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
1
@inject AppConfiguration appConfiguration
2
2
3
- <div class =" py-4" >
4
- <footer class =" text-center container" >
5
- <span class =" py-2 mb-0 text-muted" >© @DateTime.Now.Year @CopyrightName </span >
6
- </footer >
7
- </div >
3
+ <footer id =" footer" class =" text-center" >
4
+ <span class =" py-2 mb-0 text-muted" >© @DateTime.Now.Year @CopyrightName </span >
5
+ </footer >
8
6
@code {
9
7
private string CopyrightName => appConfiguration .IsAboutMeEnabled
10
8
? appConfiguration .ProfileInformation .Name
Original file line number Diff line number Diff line change
1
+ # footer {
2
+ position : absolute;
3
+ bottom : 0 ;
4
+ width : 100% ;
5
+ height : 2.5rem ;
6
+ }
Original file line number Diff line number Diff line change 2
2
@inherits LayoutComponentBase
3
3
4
4
<BlazoredToasts Position =" ToastPosition.BottomRight" />
5
- <div class =" position-relative" >
5
+ <div class =" position-relative min-vh-100 " >
6
6
<NavMenu />
7
7
8
- <main >
8
+ <main class = " py-4 " >
9
9
@Body
10
10
</main >
11
- </ div >
12
- <Footer ></ Footer >
11
+ < Footer ></ Footer >
12
+ </ div >
You can’t perform that action at this time.
0 commit comments