Browse Source

Blockbase: Remove wpcom CSS (#4564)

Ben Dwyer 3 years ago
parent
commit
9079668233
2 changed files with 0 additions and 17 deletions
  1. 0 8
      blockbase/inc/wpcom-style.css
  2. 0 9
      blockbase/inc/wpcom.php

+ 0 - 8
blockbase/inc/wpcom-style.css

@@ -1,8 +0,0 @@
-/**
- * WP.com stylesheet for Blockbase
- */
-
-/* NOTE: This is a wp.com-specific fix so that the comment form presented there (highlander) is NOT displayed as a GRID. */
-body.highlander-enabled .wp-block-post-comments form {
-	display: revert;
-}

+ 0 - 9
blockbase/inc/wpcom.php

@@ -7,15 +7,6 @@
  * @package Blockbase
  */
 
-/**
- * Enqueue our WP.com styles for front-end.
- * Loads after theme styles so we can add overrides.
- */
-function blockbase_wpcom_scripts() {
-	wp_enqueue_style( 'blockbase-wpcom-style', get_template_directory_uri() . '/inc/wpcom-style.css', array( 'blockbase-ponyfill' ) );
-}
-add_action( 'wp_enqueue_scripts', 'blockbase_wpcom_scripts' );
-
 /**
  * Restores the Customizer since we still rely on it.
  * (For WPcom REST API requests to work properly.)