Tweak upload form styles

This commit is contained in:
champsupertramp
2016-02-16 23:02:51 +08:00
parent 46eff71365
commit 16609859c3
2 changed files with 11 additions and 2 deletions
+9
View File
@@ -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;
}
+2 -2
View File
@@ -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;
}