Changeset 11802
- Timestamp:
- 04/27/2022 08:15:15 AM (17 months ago)
- Location:
- sites/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/trac.wordpress.org/templates/site.html
r11798 r11802 5 5 6 6 <?python 7 scripts_version = '15 7'7 scripts_version = '158' 8 8 project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0] 9 9 wporg_endpoint = 'https://make.wordpress.org/' + project_slug + '/' -
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.css
r11638 r11802 2451 2451 #github-prs ul.pull-requests { 2452 2452 border: 1px solid #ccc; 2453 display: table; 2454 margin: 0; 2455 max-width: 56em; 2453 2456 padding: 0 1em; 2454 margin: 0;2455 2457 position: relative; 2458 width: 100%; 2456 2459 } 2457 2460 #github-prs ul.pull-requests li { 2458 2461 align-items: center; 2459 display: flex;2462 display: table-row; 2460 2463 justify-content: space-between; 2461 2464 padding: 0; 2462 2465 } 2463 2466 #github-prs ul.pull-requests li div { 2464 margin: 0.5em 0; 2467 display: table-cell; 2468 padding: 0.5em 0; 2469 } 2470 #github-prs ul.pull-requests li > div:first-of-type > a:first-of-type { 2471 display: inline-block; 2472 max-width: 20em; 2473 overflow: hidden; 2474 text-overflow: ellipsis; 2475 vertical-align: text-bottom; 2476 white-space: nowrap; 2477 } 2478 #github-prs ul.pull-requests li:not(.loading) > div:last-of-type { 2479 text-align: right; 2465 2480 } 2466 2481 #github-prs .button { … … 2479 2494 text-decoration: none; 2480 2495 } 2481 @media screen and (max-width: 782px) {2496 @media screen and (max-width: 820px) { 2482 2497 #github-prs .button { 2483 2498 line-height: 20px; 2484 2499 margin-right: 0.3em; 2485 2500 } 2486 #github-prs li{2501 #github-prs ul.pull-requests { 2487 2502 display: block; 2503 width: auto; 2504 } 2505 #github-prs ul.pull-requests li { 2506 display: flex; 2507 flex-wrap: wrap; 2508 } 2509 #github-prs ul.pull-requests li > div:first-of-type { 2510 width: 100%; /* force other items to wrap to second line. */ 2511 } 2512 #github-prs ul.pull-requests li > div:first-of-type > a:first-of-type { 2513 max-width: 70%; 2514 margin-bottom: -1px; 2488 2515 } 2489 2516 } -
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r11798 r11802 1930 1930 'a', 1931 1931 { href: data.changes.html_url, title: data.title }, 1932 '#' + data.number + ' ' + 1933 ( data.title.length > 23 ? data.title.substr( 0, 20 ) + '...' : data.title ) 1932 '#' + data.number + ' ' + data.title 1934 1933 ) + 1935 1934 ' by ' +
Note: See TracChangeset
for help on using the changeset viewer.