Skip to content

Commit bcff08c

Browse files
Merge pull request #2389 from rhamilto/h1-tweak
Automatic merge from submit-queue. Adjust h1 margins so page header border aligns with left nav item The misalignment of the page-header bottom border and the left nav divider bugs me. ![screen shot 2017-10-27 at 9 44 00 am](https://user-images.githubusercontent.com/895728/32107231-fcade1d8-bafb-11e7-8873-68f3797d65be.PNG) It's better to have them align? ![screen shot 2017-10-27 at 9 43 48 am](https://user-images.githubusercontent.com/895728/32107267-17c4a556-bafc-11e7-8986-9f5f19f19d93.PNG)
2 parents d5e50e6 + d3c8740 commit bcff08c

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

app/styles/_typography.less

+6-11
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@
66
margin-bottom: 0;
77
margin-left: -20px;
88
margin-right: -20px;
9-
margin-top: 20px;
10-
padding-left: 20px;
11-
padding-right: 20px;
9+
margin-top: 0;
10+
padding: 18px 20px 19px;
1211
.actions {
1312
margin-top: 0;
1413
}
14+
h1 {
15+
margin: 0;
16+
}
1517
}
1618
.page-header-link {
1719
display: inline-block;
@@ -20,14 +22,6 @@
2022
margin: 0 10px;
2123
white-space: nowrap;
2224
}
23-
// @media (min-width: @screen-md-min) {
24-
// .page-header.page-header-bleed-left {
25-
// margin-left: -30px;
26-
// padding-left: 30px;
27-
// margin-right: -30px;
28-
// padding-right: 30px;
29-
// }
30-
// }
3125
.section-header{
3226
.page-header();
3327
border-bottom: none;
@@ -36,6 +30,7 @@
3630
}
3731

3832
h1 {
33+
margin-top: 18px;
3934
&.contains-actions {
4035
.word-break();
4136
}

dist/styles/main.css

+5-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)