Skip to content

Commit

Permalink
fix(containers.scss): fix title position when use is-rounded
Browse files Browse the repository at this point in the history
fix #104
  • Loading branch information
BcRikko committed Dec 7, 2018
1 parent 878a818 commit 469863c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
8 changes: 6 additions & 2 deletions css/nes.css

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

2 changes: 1 addition & 1 deletion css/nes.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/nes.min.css

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions scss/elements/containers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,21 @@
background-color: $background-color;
}

&.is-rounded {
> .title {
margin-top: -2.4rem;
}
}

&.is-center {
> .title {
margin: -2rem auto 1rem;
margin: -2.4rem auto 1rem;
}
}

&.is-right {
> .title {
margin: -2rem 0 1rem auto;
margin: -2.4rem 0 1rem auto;
}
}
}
Expand Down

0 comments on commit 469863c

Please sign in to comment.