diff --git a/functions.php b/functions.php index ba904eb..aaf7a53 100644 --- a/functions.php +++ b/functions.php @@ -29,4 +29,14 @@ function lex_scotland_block_styles() { } ' ) ); + + register_block_style( 'core/paragraph', array( + 'name' => 'constrained', + 'label' => __( 'Constrained', 'lex-scotland' ), + 'inline_style' => ' + p.is-style-constrained { + max-width: 50ch; + } + ' + ) ); } \ No newline at end of file