| @@ -1,4 +1,31 @@ | ||
| 1 | 1 | @use 'list-table/layout'; |
| 2 | 2 | @use 'list-table/navigation'; |
| 3 | 3 | @use 'list-table/pagination'; |
| 4 | 4 | @use 'list-table/responsive'; |
| 5 | + | |
| 6 | +// Author column (#152). The rest of this file was refactored into the | |
| 7 | +// list-table/* partials on the 3.10 base, so only the author-specific rules | |
| 8 | +// are carried over here. | |
| 9 | +.wp-list-table { | |
| 10 | + td.column-author .snippet-author { | |
| 11 | + display: inline-flex; | |
| 12 | + align-items: center; | |
| 13 | + gap: 6px; | |
| 14 | + max-inline-size: 14rem; | |
| 15 | + | |
| 16 | + &.is-unknown { | |
| 17 | + color: #a7aaad; | |
| 18 | + } | |
| 19 | + } | |
| 20 | + | |
| 21 | + td.column-author .snippet-author__avatar { | |
| 22 | + border-radius: 50%; | |
| 23 | + flex-shrink: 0; | |
| 24 | + } | |
| 25 | + | |
| 26 | + td.column-author .snippet-author__name { | |
| 27 | + overflow: hidden; | |
| 28 | + text-overflow: ellipsis; | |
| 29 | + white-space: nowrap; | |
| 30 | + } | |
| 31 | +} | |