Commit 3fc057be authored by Eva Gächter's avatar Eva Gächter
Browse files

footer always on page bottom, minor tweaks for crud example

parent 548552a8
Loading
Loading
Loading
Loading
Loading
+13 −1
Changes for server/app/assets/stylesheets/main.scss: 13 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -5,13 +5,22 @@ $fa-css-prefix: fa;
@import "lib/bootstrap/scss/bootstrap.scss";
@import "lib/play-cms/frontend/css/sortable";

html {
  height: 100%;
}
body {
  min-height: 100%;
  position: relative;
  padding-bottom: 6rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pcms-collection {
main {
  margin: 5rem 0;
}

@@ -20,6 +29,9 @@ footer {
  background-color: $gray-200;
  text-align: center;
  font-size: .8rem;
  position: absolute;
  width: 100%;
  bottom: 0;
  p {
    margin-top: 1rem;
  }
+2 −4
Changes for server/app/crud/page/views/show.scala.html: 2 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -12,9 +12,8 @@
@main(data) {
    <div class="container">
        <h1>@data.getPageTitle</h1>
        <div class="box">
            <h2 class="text-center">@data.getDealerTitle</h2>
            <div class="table-responsive">
        <h2>@data.getDealerTitle</h2>
        <div class="table-responsive table-striped">
            <table class="table">
                <thead>
                    <tr>
@@ -43,5 +42,4 @@
            </table>
        </div>
    </div>
    </div>
}