Making WordPress.org

Changeset 10678


Ignore:
Timestamp:
02/16/2021 07:09:19 AM (6 years ago)
Author:
dd32
Message:

Trac: Improve the single ticket view on smaller screens.

Props vladytimy.
See #4917.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.css

    r10265 r10678  
    20832083                min-width: 100%;
    20842084        }
     2085        #ticket table.properties img.avatar {
     2086                margin: 0 .5em 0 0;
     2087        }
     2088        #properties table.trac-properties > tbody > tr > td#focuses {
     2089                padding-left: 22px;
     2090        }
    20852091}
    20862092
    … …  
    21352141                margin-left: 0; /* use all the available space */
    21362142        }
    2137         #ticket table.properties img.avatar {
    2138                 float: right; /* move it to the right to help prevent collisions */
    2139                 margin: 0 .5em 0 0;
    2140         }
    21412143        #ticket table.properties > tbody > th {
    21422144                padding: 0.5em .2em .5em 0; /* reduce side padding */
    … …  
    22232225                margin-top: 10px;
    22242226        }
    2225         #ticket table.properties > tbody > th,
    2226         #ticket table.properties > tbody > td {
    2227                 display: block;
    2228                 float: left;
    2229                 width: 60%;
     2227        #ticket table.properties > tbody > tr > th,
     2228        #ticket table.properties > tbody > tr > td {
     2229                display: inline-block;
    22302230                -webkit-box-sizing: border-box;
    22312231                -moz-box-sizing: border-box;
    22322232                box-sizing: border-box;
    22332233        }
    2234         #ticket table.properties > tbody > th {
    2235                 width: 40%;
     2234        #ticket table.properties > tbody > tr > th {
     2235                width: 30%;
     2236                clear: left;
     2237        }
     2238        #ticket table.properties > tbody > tr > td {
     2239                width: 70%;
    22362240                clear: left;
    22372241        }
    … …  
    23092313                width: 40%; /* More room so columns don't overlap */
    23102314        }
     2315        #ticket table.properties > tbody > tr > td {
     2316                width: 60%; /* Less room so columns don't overlap */
     2317        }
    23112318}
    23122319#github-prs .hidden {
Note: See TracChangeset for help on using the changeset viewer.