# Expanded table view missing padding on \<td\> elements

**URL:** https://meta.discourse.org/t/expanded-table-view-missing-padding-on-td-elements/298019
**Category:** UX
**Tags:** completed
**Created:** [March 5, 2024, 3:21pm UTC](https://meta.discourse.org/t/expanded-table-view-missing-padding-on-td-elements/298019 "2024-03-05T15:21:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![simonk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonk/32/247950_2.png) [@simonk](https://meta.discourse.org/u/simonk)
#### Post date: [March 5, 2024, 3:21pm UTC](https://meta.discourse.org/t/expanded-table-view-missing-padding-on-td-elements/298019/1 "2024-03-05T15:21:56Z")

</div>

This is a very minor issue, but the “Expanded Table” view has cell padding on the `<th>` elements but not the `<td>` elements. This means that if the cell contents are wider than the column headings, it becomes impossible to tell where the cells start and end. For example:

| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 | 11.12 |
| 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 | 22.12 |
| 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 | 33.12 |

If you click the “Expand Table” button, you’ll see something like this:

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/2/c/12c4fe20d8975f72e211dfc44023e0dff8b0aa69.png)

---

<div class="post-metadata">

### Author: ![ella](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ella/32/260722_2.png) [@ella](https://meta.discourse.org/u/ella)
#### Post date: [March 5, 2024, 9:26pm UTC](https://meta.discourse.org/t/expanded-table-view-missing-padding-on-td-elements/298019/2 "2024-03-05T21:26:12Z")

</div>

Thanks for noting this!

Here’s with more spacing between `<td>` elements

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/5/5/f557421782a60b9b0b2ade3f07dd6752524580b5.png)

[https://github.com/discourse/discourse/pull/26037](https://github.com/discourse/discourse/pull/26037)

---

<div class="post-metadata">

### Author: ![ella](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ella/32/260722_2.png) [@ella](https://meta.discourse.org/u/ella)
#### Post date: [March 6, 2024, 3:33am UTC](https://meta.discourse.org/t/expanded-table-view-missing-padding-on-td-elements/298019/3 "2024-03-06T03:33:21Z")

</div>


