mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Tweak upload form styles
This commit is contained in:
@@ -742,3 +742,12 @@ span.um-req {
|
||||
font-size: 14px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
small.um-max-filesize {
|
||||
display: block;
|
||||
color: #999999;
|
||||
padding-top: 5px;
|
||||
}
|
||||
small.um-max-filesize span{
|
||||
font-size: 12px;
|
||||
}
|
||||
@@ -74,7 +74,7 @@
|
||||
if( $file_size >= 999999999 ){
|
||||
|
||||
}else{
|
||||
$args['cover_photo']['upload_text'] .= '( '.__('maximum file size','ultimatemember').': '.$file_size.$unit.' )';
|
||||
$args['cover_photo']['upload_text'] .= '<small class=\'um-max-filesize\'>( '.__('max','ultimatemember').': <span>'.$file_size.$unit.'</span> )</small>';
|
||||
}
|
||||
return $args;
|
||||
}
|
||||
@@ -92,7 +92,7 @@
|
||||
if( $file_size >= 999999999 ){
|
||||
|
||||
}else{
|
||||
$args['profile_photo']['upload_text'] .= '( '.__('maximum file size','ultimatemember').': '.$file_size.$unit.' )';
|
||||
$args['profile_photo']['upload_text'] .= '<small class=\'um-max-filesize\'>( '.__('max','ultimatemember').': <span>'.$file_size.$unit.'</span> )</small>';
|
||||
}
|
||||
return $args;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user