WordPress.org

Make WordPress Core

Ticket #20654: 20654-absolute_position.diff

File 20654-absolute_position.diff, 953 bytes (added by tomauger, 6 years ago)

Patch using absolute position for the sortables and fixed width for the table cells

  • wp-admin/css/media.dev.css

    # This patch file was generated by NetBeans IDE
    # Following Index: paths are relative to: C:\XAMPP\htdocs\wordpress\trunk
    # This patch can be applied using context Tools: Patch action on respective folder.
    # It uses platform neutral UTF-8 encoding and \n newlines.
    # Above lines and this line are ignored by the patching process.
     
    163163        margin: 5px 0;
    164164}
    165165
     166.media-item {
     167        position:relative;
     168}
     169
    166170.menu_order {
    167         float: right;
    168171        font-size: 11px;
    169         margin: 10px 10px 0;
     172        margin:0;
     173        position:absolute; right:83px; top:8px;
    170174}
    171175
    172176.menu_order_input {
     
    184188}
    185189
    186190#media-upload th.order-head {
    187         width: 20%;
     191        width: 50px;
    188192        text-align: center;
    189193}
    190194
    191195#media-upload th.actions-head {
    192         width: 25%;
     196        width: 50px;
    193197        text-align: center;
    194198}
    195199