Browse Source

Fixing footer styling

main
Eric Fleming 7 years ago
parent
commit
374c950a49
  1. 2
      src/Web/Views/Shared/_Layout.cshtml
  2. 6
      src/Web/wwwroot/css/app.component.css
  3. 2
      src/Web/wwwroot/css/app.component.min.css
  4. 9
      src/Web/wwwroot/css/app.component.scss

2
src/Web/Views/Shared/_Layout.cshtml

@ -24,6 +24,7 @@
</environment> </environment>
</head> </head>
<body> <body>
<div class="esh-app-wrapper">
<header class="esh-app-header"> <header class="esh-app-header">
<div class="container"> <div class="container">
<article class="row"> <article class="row">
@ -47,6 +48,7 @@
</article> </article>
</div> </div>
</footer> </footer>
</div>
<environment names="Development"> <environment names="Development">
<script src="~/lib/jquery/dist/jquery.js"></script> <script src="~/lib/jquery/dist/jquery.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.js"></script> <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>

6
src/Web/wwwroot/css/app.component.css

@ -12,3 +12,9 @@
.esh-app-header { .esh-app-header {
margin: 15px; } margin: 15px; }
.esh-app-wrapper {
display: flex;
min-height: 100vh;
flex-direction: column;
justify-content: space-between; }

2
src/Web/wwwroot/css/app.component.min.css

@ -1 +1 @@
.esh-app-footer{background-color:#000;border-top:1px solid #eee;margin-top:2.5rem;padding-bottom:2.5rem;padding-top:2.5rem;width:100%;bottom:0;}.esh-app-footer-brand{height:50px;width:230px;}.esh-app-header{margin:15px;} .esh-app-footer{background-color:#000;border-top:1px solid #eee;margin-top:2.5rem;padding-bottom:2.5rem;padding-top:2.5rem;width:100%;bottom:0;}.esh-app-footer-brand{height:50px;width:230px;}.esh-app-header{margin:15px;}.esh-app-wrapper{display:flex;min-height:100vh;flex-direction:column;justify-content:space-between;}

9
src/Web/wwwroot/css/app.component.scss

@ -11,7 +11,6 @@
padding-bottom: $padding; padding-bottom: $padding;
padding-top: $padding; padding-top: $padding;
width: 100%; width: 100%;
bottom: 0; bottom: 0;
$height: 50px; $height: 50px;
@ -19,10 +18,16 @@
height: $height; height: $height;
width: 230px; width: 230px;
} }
} }
&-header { &-header {
margin: 15px; margin: 15px;
} }
&-wrapper {
display: flex;
min-height: 100vh;
flex-direction: column;
justify-content: space-between
}
} }
Loading…
Cancel
Save