Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<th> in <tbody> removes borders around said cells #2215

Closed
sonovawolf opened this issue Mar 8, 2018 · 2 comments
Closed

<th> in <tbody> removes borders around said cells #2215

sonovawolf opened this issue Mar 8, 2018 · 2 comments

Comments

@sonovawolf
Copy link

sonovawolf commented Mar 8, 2018

image

<table class="pt-table">
  <thead>
    <tr>
      <th>Column header</th>
      <th>Column header</th>
      <th>Column header</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th>Row header</td>
      <td>Table data</td>
      <td>Table data</td>
    </tr>

    <tr>
      <th>Row header</td>
      <td>Table data</td>
      <td>Table data</td>
    </tr>
  </tbody>
</table>

I would have expected the border between the first cell of the <thead> and the first cell of the <tbody> to stay.

@sonovawolf
Copy link
Author

Looks like the selector is table.pt-table tbody tr:first-child td while it should include a th.

@llorca
Copy link
Contributor

llorca commented Mar 8, 2018

@thisisalessandro mind pushing a PR? sounds like right up your alley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants