formatting

This commit is contained in:
Aadil Ayub 2024-06-06 17:38:51 +05:00
parent 6cdd494e0e
commit fc8f1805a5

View File

@ -86,23 +86,25 @@ function jett_block_styles() {
' '
) )
); );
register_block_style( 'core/list', array( register_block_style(
'name' => 'arrow', 'core/list',
'label' => __( 'Arrow', 'lex-scotland' ), array(
'inline_style' => ' 'name' => 'arrow',
ul.is-style-arrow { 'label' => __( 'Arrow', 'lex-scotland' ),
list-style: none; 'inline_style' => '
} ul.is-style-arrow {
ul.is-style-arrow div { list-style: none;
display: inline; }
} ul.is-style-arrow div {
ul.is-style-arrow li::before { display: inline;
content: ""; }
margin-right: 0.5em; ul.is-style-arrow li::before {
font-weight: bold; content: "";
} margin-right: 0.5em;
' font-weight: bold;
) }
); '
)
);
} }
add_action( 'init', 'jett_block_styles' ); add_action( 'init', 'jett_block_styles' );