Browse Source

Blockbase: Remove unnecessary normalize code (#4802)

Ben Dwyer 3 years ago
parent
commit
211fbcf20a
2 changed files with 2 additions and 25 deletions
  1. 0 10
      blockbase/assets/ponyfill.css
  2. 2 15
      blockbase/sass/base/_normalize.scss

+ 0 - 10
blockbase/assets/ponyfill.css

@@ -2,21 +2,11 @@
  * Base
  * Base
  * - Reset the browser
  * - Reset the browser
  */
  */
-body {
-	margin: 0;
-	padding: 0;
-}
-
 body {
 body {
 	-webkit-font-smoothing: antialiased;
 	-webkit-font-smoothing: antialiased;
 	-moz-osx-font-smoothing: grayscale;
 	-moz-osx-font-smoothing: grayscale;
 }
 }
 
 
-img {
-	height: auto;
-	max-width: 100%;
-}
-
 * {
 * {
 	box-sizing: border-box;
 	box-sizing: border-box;
 }
 }

+ 2 - 15
blockbase/sass/base/_normalize.scss

@@ -1,26 +1,13 @@
-
-// Remove the margin in all browsers.
-body {
-  margin: 0;
-  padding: 0;
-}
-
 // Smooth out the fonts
 // Smooth out the fonts
 body {
 body {
 	-webkit-font-smoothing: antialiased;
 	-webkit-font-smoothing: antialiased;
 	-moz-osx-font-smoothing: grayscale;
 	-moz-osx-font-smoothing: grayscale;
 }
 }
 
 
-// Needed until https://github.com/WordPress/gutenberg/pull/27518/ is merged.
-img {
-	height: auto;
-	max-width: 100%;
-}
-
 * {
 * {
 	box-sizing: border-box;
 	box-sizing: border-box;
 }
 }
 
 
 pre {
 pre {
-	overflow: scroll;	
-}
+	overflow: scroll;
+}