From 01d65050af742bebedb5705e0770a07333d6c6a8 Mon Sep 17 00:00:00 2001 From: Kniebremser Date: Sun, 14 Jul 2019 20:02:51 +0200 Subject: [PATCH] Reduce WPCS Messages Part 11 --- functions.php | 2 +- gutenberg.css | 14 +++++++------- layout-foot.php | 6 +++++- searchform.php | 1 + style.css | 4 ++-- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/functions.php b/functions.php index 5dd2144..05d8b5c 100644 --- a/functions.php +++ b/functions.php @@ -74,7 +74,7 @@ function comicpress_enqueue_theme_scripts() { if ( ! comicpress_themeinfo( 'disable_scroll_to_top' ) ) { wp_enqueue_script( 'comicpress_scroll', get_template_directory_uri() . '/js/scroll.js', null, null, true ); } - if ( comicpress_themeinfo( 'enable_avatar_trick' ) && ! $is_IE) { + if ( comicpress_themeinfo( 'enable_avatar_trick' ) && ! $is_IE ) { wp_enqueue_script( 'themetricks_historic1', get_template_directory_uri() . '/js/cvi_text_lib.js', null, null, true ); wp_enqueue_script( 'themetricks_historic2', get_template_directory_uri() . '/js/instant.js', null, null, true ); } diff --git a/gutenberg.css b/gutenberg.css index 680ed07..d762c29 100644 --- a/gutenberg.css +++ b/gutenberg.css @@ -1,11 +1,11 @@ -/* +/* Style Specifically for the Gutenberg Editor */ +@media screen and (min-width: 768px) { -@media screen and ( min-width: 768px ) { - .edit-post-visual-editor .editor-post-title, - .edit-post-visual-editor .editor-block-list__block { - max-width: 1100px; - } -} \ No newline at end of file + .edit-post-visual-editor .editor-post-title, + .edit-post-visual-editor .editor-block-list__block { + max-width: 1100px; + } +} diff --git a/layout-foot.php b/layout-foot.php index 9776870..91b5a73 100644 --- a/layout-foot.php +++ b/layout-foot.php @@ -1,5 +1,9 @@ - + + + + diff --git a/style.css b/style.css index cf464ad..c60401c 100644 --- a/style.css +++ b/style.css @@ -712,7 +712,6 @@ ul.children { font-size: 13px; font-weight: 700; font-style: normal; - } textarea#comment { @@ -1467,7 +1466,8 @@ table#wp-calendar td { float: left; } -.ie .searchform button, .ie #submit { +.ie .searchform button, +.ie #submit { display: inline-block; float: left; border: 1px solid #888;