WordPress.org

Make WordPress Core

Ticket #21904: 21904.diff

File 21904.diff, 468 bytes (added by technosailor, 3 years ago)

Since patches are useful, this fixes Chrome. Firefox limits the field length already. Safari doesn't seem to respect the validation at all. It allows input of 1111 which is above the "max" attribute...

  • wp-admin/css/wp-admin.css

     
    11381138        margin: 0 24px 0 0; 
    11391139} 
    11401140 
     1141::-webkit-validation-bubble-message { 
     1142    position:absolute; 
     1143    top:-30px; 
     1144    left:200px; 
     1145    width:300px; 
     1146    z-index:9999 !important; 
     1147} 
     1148 
    11411149/* screen options and help tabs revert */ 
    11421150#screen-meta { 
    11431151        display: none;