Skip to content

Commit

Permalink
Footer fixed at the bottom of the main area
Browse files Browse the repository at this point in the history
  • Loading branch information
RawToast committed Apr 7, 2018
1 parent 682dc7d commit c244d79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions dokusho/src/app/Dokusho.re
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ module Dokusho {
enabledDates=(availableDates) />

<Entries entries=(entries) />

<Footer pageCount=(pageCount) />
</div>
</div>
<Footer pageCount=(pageCount) />
</div>
}
};
Expand Down
10 changes: 5 additions & 5 deletions dokusho/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ body {
box-shadow: 0 2px 15px #ccc;
margin: 10px;
align-items: stretch;
position: relative;
}

.title {
Expand Down Expand Up @@ -90,9 +91,8 @@ body {
}

.footer {
align-items: center;
display: flex;
flex-direction: column;
align-self: flex-end;
padding: 5px 10px 20px;
position: absolute;
padding-bottom: 15px;
bottom:0;
left: 40%
}

0 comments on commit c244d79

Please sign in to comment.