Skip to content

Commit

Permalink
Merge pull request #5 from creativelittledots/media-fix/missing-rebooty
Browse files Browse the repository at this point in the history
Media fix: Missing reboot found at last!
  • Loading branch information
mattpilott authored Jul 14, 2019
2 parents b7a44e1 + 6d9dcca commit cd1eb6d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
node_modules
package-lock.json
2 changes: 1 addition & 1 deletion reboot.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 20 additions & 1 deletion reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,28 @@ video {


/*----------------------------------------------------------------------------*\
Figure reset (opinionated).
1. Change the fill color to match the text color in all browsers (opinionated).
2. Hide the overflow in IE.
\*----------------------------------------------------------------------------*/

svg {
fill: currentColor; /* 1 */

&:not(:root) {
overflow: hidden; /* 2 */
}
}

img,
svg {
display: block;
max-width: 100%;
}

img {
height: auto;
}

figure {
margin: 0;
}
Expand Down

0 comments on commit cd1eb6d

Please sign in to comment.