Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE8 style fixes #752

Merged
merged 1 commit into from
Dec 31, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/_css/react.scss
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ h1, h2, h3, h4, h5, h6 {

.marketing-col {
float: left;
margin-right: 40px;
margin-left: 40px;
width: $columnWidth;

h3 {
Expand All @@ -304,8 +304,8 @@ h1, h2, h3, h4, h5, h6 {
}
}

.marketing-col:last-child {
margin-right: 0;
.marketing-col:first-child {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi, :first-child works on IE8. A common way to work around is to special case on first-child and swap the left/right :)

margin-left: 0;
}

#examples h3, .home-presentation h3 {
Expand Down Expand Up @@ -419,7 +419,7 @@ section.black content {

padding-top: 20px;

// Make a notice box out of blockquotes in the documetation:
// Make a notice box out of blockquotes in the documentation:
blockquote {
padding: 15px 30px 15px 15px;
margin: 20px 0;
Expand All @@ -428,7 +428,7 @@ section.black content {
h4 {
margin-top: 0;
}
p:last-child {
p {
margin-bottom: 0;
}
// Treat first child as the title - promote to H4.
Expand Down