When an Olivero table has a row header, the alignment of row header text is awkward and last row border is confusing

Created on 12 February 2024, 4 months ago
Updated 24 May 2024, about 1 month ago

Problem/Motivation

Olivero table styles are awkward when the table has a row header element. Also the last row border looks broken.

Steps to reproduce

Create an article node with this HTML:

<table>
    <thead>
        <tr>
            <th>
                Header
            </th>
            <th>
                Header
            </th>
            <th>
                Header
            </th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <th>
                Also header
            </th>
            <td>
                Content
            </td>
            <td>
                And more
            </td>
        </tr>
        <tr>
            <th>
                Also header
            </th>
            <td>
                Also content
            </td>
            <td>
                As well here
            </td>
        </tr>
        <tr>
            <th>
                Final header
            </th>
            <td>
                Final row
            </td>
            <td>
                And last cell
            </td>
        </tr>
    </tbody>
</table>

Proposed resolution

  1. Header cells in not the first row should not have the padding-bottom --sp set IMHO, this landing on the same line as the rest of the cells.
  2. Header cells in the last row of the table should not have the bottom border.

Remaining tasks



- Commit

User interface changes

Before

After

API changes

None

Data model changes

None

Release notes snippet

None

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Olivero 

Last updated about 1 hour ago

Created by

🇭🇺Hungary Gábor Hojtsy Hungary

Live updates comments and jobs are added and updated live.
  • Needs subsystem maintainer review

    It is used to alert the maintainer(s) of a particular core subsystem that an issue significantly impacts their subsystem, and their signoff is needed (see the governance policy draft for more information). Also, if you use this tag, make sure the issue component is set to the correct subsystem. If an issue significantly impacts more than one subsystem, use needs framework manager review instead.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024