Skip to content

Commit

Permalink
fix(alerts): Remove extra margin on the alert
Browse files Browse the repository at this point in the history
When the close button is followed by a media component, the margin
should be cleared. There is a special rule that handled this for alerts
inside a table which is how it is shown in the styleguide.
  • Loading branch information
rdy committed Aug 5, 2015
1 parent 481e95b commit dc72f3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pivotal-ui/components/alerts/alerts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ other content inside a container on the page (of a width 500px for this example)
text-decoration: none;
line-height: .7;
text-shadow: none;
+ .media {
margin-top: 0;
}
}
}

Expand Down

0 comments on commit dc72f3d

Please sign in to comment.