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

[Feature request] Support for rowspan #3

Open
kuba-orlik opened this issue Oct 12, 2023 · 0 comments
Open

[Feature request] Support for rowspan #3

kuba-orlik opened this issue Oct 12, 2023 · 0 comments

Comments

@kuba-orlik
Copy link

kuba-orlik commented Oct 12, 2023

Given a table using rowspans like this:

<table-saw breakpoint="(max-width: 600px)">
  <table>
    <thead>
      <tr>
	<th>Type</th>
	<th>Name</th>
      </tr>
    </thead>
    <tbody>
      <tr>
	<td rowspan="2">Fruits</td>
	<td>apple</td>
      </tr>
      <tr>
	<td>banana</td>
      </tr>
      <tr>
	<td rowspan="2">Vegetables</td>
	<td>carrot</td>
      </tr>
      <tr>
	<td>onion</td>
      </tr>
    </tbody>
  </table>
</table-saw>

The mobile view is messing up the rows:

image

In this example each group would have two rows and the labels should match the values:

image

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

No branches or pull requests

1 participant