From 9569c9876835030b855bf5cf9fa41fe696faaf0c Mon Sep 17 00:00:00 2001 From: kurudrive Date: Tue, 22 Oct 2024 17:55:52 +0900 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=94=BB=E9=9D=A2=E3=83=84?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E3=83=90=E3=83=BC=E3=81=AECSS=E3=81=AE?= =?UTF-8?q?=E8=AA=AD=E3=81=BF=E8=BE=BC=E3=81=BF=E4=B8=8D=E5=85=B7=E5=90=88?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20=E3=81=9D=E3=81=AE=EF=BC=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/edit-post/header-toolbar/style-index.css | 3 --- .../header-toolbar/vkp-header-toolbar-loader.php | 2 +- src/edit-post/header-toolbar/style.scss | 13 ++++++------- 3 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 inc/edit-post/header-toolbar/style-index.css diff --git a/inc/edit-post/header-toolbar/style-index.css b/inc/edit-post/header-toolbar/style-index.css deleted file mode 100644 index 3a06b87..0000000 --- a/inc/edit-post/header-toolbar/style-index.css +++ /dev/null @@ -1,3 +0,0 @@ -.vk-patterns-header-toolbar .components-external-link__contents { - text-decoration: none; -} \ No newline at end of file diff --git a/inc/edit-post/header-toolbar/vkp-header-toolbar-loader.php b/inc/edit-post/header-toolbar/vkp-header-toolbar-loader.php index bb052a9..f196739 100644 --- a/inc/edit-post/header-toolbar/vkp-header-toolbar-loader.php +++ b/inc/edit-post/header-toolbar/vkp-header-toolbar-loader.php @@ -26,7 +26,7 @@ function vbp_edit_post_enqueue_scripts() { wp_enqueue_style( 'vk-patterns-header-toolbar-css', - VBP_URL . 'inc/edit-post/header-toolbar/style-index.css' + VBP_URL . 'build/style-edit-post/header-toolbar/index.css' ); } add_action( 'enqueue_block_editor_assets', 'vbp_edit_post_enqueue_scripts' ); diff --git a/src/edit-post/header-toolbar/style.scss b/src/edit-post/header-toolbar/style.scss index 6ee89e2..f0a6c74 100644 --- a/src/edit-post/header-toolbar/style.scss +++ b/src/edit-post/header-toolbar/style.scss @@ -1,11 +1,10 @@ // 992px以下では非表示にする @media ( max-width: 992px ) { - - .edit-post-header__toolbar, - .edit-site-header__toolbar { - - .vk-patterns-header-toolbar { - display: none; - } + .vk-patterns-header-toolbar { + display: none; } } + +.vk-patterns-header-toolbar .components-external-link__contents { + text-decoration: none; +} \ No newline at end of file