From fc8f1805a5b800e483d2d00623f0cfadeca9aad0 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 6 Jun 2024 17:38:51 +0500 Subject: [PATCH] formatting --- functions.php | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/functions.php b/functions.php index f000888..e1a97e6 100644 --- a/functions.php +++ b/functions.php @@ -86,23 +86,25 @@ function jett_block_styles() { ' ) ); - register_block_style( 'core/list', array( - 'name' => 'arrow', - 'label' => __( 'Arrow', 'lex-scotland' ), - 'inline_style' => ' - ul.is-style-arrow { - list-style: none; - } - ul.is-style-arrow div { - display: inline; - } - ul.is-style-arrow li::before { - content: "→"; - margin-right: 0.5em; - font-weight: bold; - } - ' - ) - ); + register_block_style( + 'core/list', + array( + 'name' => 'arrow', + 'label' => __( 'Arrow', 'lex-scotland' ), + 'inline_style' => ' + ul.is-style-arrow { + list-style: none; + } + ul.is-style-arrow div { + display: inline; + } + ul.is-style-arrow li::before { + content: "→"; + margin-right: 0.5em; + font-weight: bold; + } + ' + ) + ); } add_action( 'init', 'jett_block_styles' );