Files
ultimatemember/assets/dynamic_css/dynamic_global.php
T
Nikita Sinelnikov 1e5e1f298d - fixed sanitizing types;
- fixed `in_group` attribute sanitizing;
2021-07-21 20:26:33 +03:00

18 lines
281 B
PHP

<style type="text/css">
<?php
if ( isset( $max_width ) && $max_width ) {
print ".um-$form_id.um {
max-width: {$max_width};
}";
}
if ( isset( $align ) && in_array( $align, array( 'left', 'right' ) ) ) {
print ".um-$form_id.um {
margin-$align: 0px !important;
}";
}
?>
</style>