From 6cdd494e0e09491f2da48b692251729bae608582 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 6 Jun 2024 17:37:31 +0500 Subject: [PATCH] formatting --- functions.php | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/functions.php b/functions.php index 05d1f50..f000888 100644 --- a/functions.php +++ b/functions.php @@ -67,7 +67,8 @@ function jett_block_styles() { -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; - }' + } + ' ) ); register_block_style( @@ -81,25 +82,27 @@ function jett_block_styles() { -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; - }' + } + ' ) ); 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; - } + 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' );