# Compact Rows in Admin Lists

> Tightens the spacing of admin table rows so more posts, pages and users fit on screen at once.

- Type: SCSS
- Runs: Admin head
- Category: [Admin](https://wpide.com/library/category/admin/)
- Tags: admin, list-table, scss
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/compact-admin-list-rows/

## Code

```scss
// Vertical padding of each cell.
$cell-padding: 4px;

.wp-list-table {
    td,
    th.check-column,
    tbody th {
        padding-top: $cell-padding;
        padding-bottom: $cell-padding;
    }

    .row-actions {
        padding-top: 0;
    }

    tbody .check-column input[type="checkbox"] {
        margin-top: $cell-padding;
    }
}
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Compact Rows in Admin Lists" in its snippet library and add it in one click; or create a new SCSS snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
