Skip to content

Commit

Permalink
fix style top margin
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Jun 12, 2016
1 parent 1d46fd2 commit 684f2cd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
5 changes: 4 additions & 1 deletion app/public/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/public/css/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions app/styles/main.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@import "manifest";

$top-margin: 10px;

body {
max-width: 1300px;
margin: 0 auto;
Expand All @@ -13,10 +11,19 @@ main {
border:1px solid #ccc;
border-width: 0 1px;
min-height: 100vh;

&:before, &:after {
display: table;
content: "";
}

&:after {
// clear: both;
}
}

.breadcrumbs {
margin-top: $top-margin;
margin-top: 6px;
border-bottom: 1px solid #ccc;
a {
display: inline-block;
Expand All @@ -30,7 +37,7 @@ nav {
width: 250px;
overflow-y: auto;
position: fixed;
padding: $top-margin 0 100px 0;
padding: 10px 0 100px 0;
border-right: 1px solid #eee;
a, span {
&:hover {
Expand Down

0 comments on commit 684f2cd

Please sign in to comment.