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(
'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' );