mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
1e5e1f298d
- fixed `in_group` attribute sanitizing;
18 lines
281 B
PHP
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>
|