| @@ -361,11 +361,13 @@ | ||
| 361 | 361 | justify-content: center; |
| 362 | 362 | gap: 1em; |
| 363 | 363 | } |
| 364 | 364 | |
| 365 | -// Keep every table row the same height by clamping the description cell | |
| 366 | -// to two lines, matching the two-line name + row-actions column. | |
| 367 | -.snippets-list-view .wp-list-table td.column-desc .snippet-description-content { | |
| 365 | +// Rows are kept to a common height by clamping the description to two lines, | |
| 366 | +// matching the two-line name + row-actions column. Descriptions are governed by | |
| 367 | +// the "Truncate long snippet names and descriptions" Screen Option along with | |
| 368 | +// names, so nothing is clamped once that option is switched off. | |
| 369 | +.snippets-list-view .wp-list-table.truncate-row-values td.column-desc .snippet-description-content { | |
| 368 | 370 | display: -webkit-box; |
| 369 | 371 | -webkit-box-orient: vertical; |
| 370 | 372 | -webkit-line-clamp: 2; |
| 371 | 373 | line-clamp: 2; |