1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 09:41:47 +02:00

fix(containers.scss): fix title position when use is-rounded

fix #104
This commit is contained in:
BcRikko
2018-12-07 23:42:46 +09:00
parent 878a818611
commit 469863ca62
4 changed files with 16 additions and 6 deletions

View File

@@ -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;
}
}
}