prevent max-width being overridden by wordpress css for constrained style
This commit is contained in:
parent
d5c6c356d8
commit
4d166259b2
@ -35,7 +35,7 @@ function lex_scotland_block_styles() {
|
|||||||
'label' => __( 'Constrained', 'lex-scotland' ),
|
'label' => __( 'Constrained', 'lex-scotland' ),
|
||||||
'inline_style' => '
|
'inline_style' => '
|
||||||
p.is-style-constrained {
|
p.is-style-constrained {
|
||||||
max-width: 50ch;
|
max-width: 50ch !important;
|
||||||
}
|
}
|
||||||
'
|
'
|
||||||
) );
|
) );
|
||||||
@ -45,7 +45,7 @@ function lex_scotland_block_styles() {
|
|||||||
'label' => __( 'Constrained', 'lex-scotland' ),
|
'label' => __( 'Constrained', 'lex-scotland' ),
|
||||||
'inline_style' => '
|
'inline_style' => '
|
||||||
li.is-style-constrained {
|
li.is-style-constrained {
|
||||||
max-width: 50ch;
|
max-width: 50ch !important;
|
||||||
}
|
}
|
||||||
'
|
'
|
||||||
) );
|
) );
|
||||||
|
Loading…
Reference in New Issue
Block a user