formatting

This commit is contained in:
Aadil Ayub 2024-06-06 17:37:31 +05:00
parent 100744351d
commit 6cdd494e0e

View File

@ -67,7 +67,8 @@ function jett_block_styles() {
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
line-height: 1.1; line-height: 1.1;
}' }
'
) )
); );
register_block_style( register_block_style(
@ -81,25 +82,27 @@ function jett_block_styles() {
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
line-height: 1.1; line-height: 1.1;
}' }
'
) )
); );
register_block_style( 'core/list', array( register_block_style( 'core/list', array(
'name' => 'arrow', 'name' => 'arrow',
'label' => __( 'Arrow', 'lex-scotland' ), 'label' => __( 'Arrow', 'lex-scotland' ),
'inline_style' => ' 'inline_style' => '
ul.is-style-arrow { ul.is-style-arrow {
list-style: none; list-style: none;
} }
ul.is-style-arrow div { ul.is-style-arrow div {
display: inline; display: inline;
} }
ul.is-style-arrow li::before { ul.is-style-arrow li::before {
content: ""; content: "";
margin-right: 0.5em; margin-right: 0.5em;
font-weight: bold; font-weight: bold;
} }
' '
) ); )
);
} }
add_action( 'init', 'jett_block_styles' ); add_action( 'init', 'jett_block_styles' );