add constrained style for list items
This commit is contained in:
parent
45d9eaaddb
commit
e536ce5ed6
@ -39,4 +39,14 @@ function lex_scotland_block_styles() {
|
||||
}
|
||||
'
|
||||
) );
|
||||
|
||||
register_block_style( 'core/list-item', array(
|
||||
'name' => 'constrained',
|
||||
'label' => __( 'Constrained', 'lex-scotland' ),
|
||||
'inline_style' => '
|
||||
li.is-style-constrained {
|
||||
max-width: 50ch;
|
||||
}
|
||||
'
|
||||
) );
|
||||
}
|
Loading…
Reference in New Issue
Block a user