mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
notice: fix layout when content starts with heading #275
This commit is contained in:
parent
5991d32a02
commit
b4c37fd525
1 changed files with 2 additions and 2 deletions
|
@ -482,12 +482,12 @@ div.box > .box-content {
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.box > .box-content > :first-child {
|
#body div.box > .box-content > :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.box > .box-content > :last-child {
|
#body div.box > .box-content > :last-child {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue