mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(typography): remove negative margin top for first header unless in padding
fixes #769
This commit is contained in:
@ -36,9 +36,13 @@ h1, h2, h3, h4, h5, h6 {
|
||||
line-height: $headings-line-height;
|
||||
margin-top: 1.6rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
margin-top: -0.3rem;
|
||||
[padding] {
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
&:first-child {
|
||||
margin-top: -0.3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user