diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index a059fffb36..1292db2cdb 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -1340,7 +1340,7 @@ table.form-table td .updated p { } .options-general-php input[type="text"].small-text { - max-width: 60px; + max-width: 6.25em; margin: 0; } } diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php index 5be7ad99e7..1c91300c04 100644 --- a/src/wp-admin/options-general.php +++ b/src/wp-admin/options-general.php @@ -307,8 +307,9 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists echo '/> ' . __( 'Custom:' ) . ' ' . __( 'enter a custom date format in the following field' ) . '' . '' . '' . - '' . __( 'example:' ) . ' ' . date_i18n( get_option( 'date_format' ) ) . '' . - "\n"; + '
' . + '

' . __( 'Preview:' ) . ' ' . date_i18n( get_option( 'date_format' ) ) . '' . + "\n" . '

'; ?> @@ -343,8 +344,9 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists echo '/> ' . __( 'Custom:' ) . ' ' . __( 'enter a custom time format in the following field' ) . '' . '' . '' . - '' . __( 'example:' ) . ' ' . date_i18n( get_option( 'time_format' ) ) . '' . - "\n"; + '
' . + '

' . __( 'Preview:' ) . ' ' . date_i18n( get_option( 'time_format' ) ) . '' . + "\n" . '

'; echo "\t

" . __('Documentation on date and time formatting.') . "

\n"; ?>