Skip to content

Commit

Permalink
Merge pull request #248 from jonhurrell/feature/fix-IE-legend-wrap
Browse files Browse the repository at this point in the history
Fix legend text wrapping in IE.
  • Loading branch information
gemmaleigh committed Jun 9, 2016
2 parents e022e58 + d379df8 commit 1eb4c11
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions public/sass/elements/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,15 @@ abbr[title],
acronym[title] {
text-decoration: none;
}

// Legend --------------------------------
// Fix legend text wrapping in Edge and IE
// ---------------------------------------
// 1. IE9-11 & Edge 12-13
// 2. IE8-11

legend {
box-sizing: border-box; // [1]
max-width: 100%; // [1]
display: table; // [2]
}

0 comments on commit 1eb4c11

Please sign in to comment.