Align table headers (th) according to the view settings

Created on 15 November 2020, about 4 years ago
Updated 29 June 2023, over 1 year ago

Problem/Motivation

Table headers (th) are not aligned according to the view settings.

Steps to reproduce

1-Create a view : Format= Table
2-Set one header right aligned and another one centered

Result: they are all left aligned

This is because .views-align-right and .views-align-center are not defined.

Proposed resolution

[dir] th.views-align-center{
    text-align: center;
}
[dir] th.views-align-right{
    text-align: right;
}

User interface changes

1. Issue Imgae - Align table headers issue.png (#51)

2. Solution Image - 3182665 after patch 45.png (#52)

๐Ÿ› Bug report
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Oliveroย  โ†’

Last updated 3 days ago

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium DuneBL

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.

  • Needs screenshots

    The change alters the user interface, so before and after screenshots should be added to document the UI change. Make sure to capture the relevant region only. Use a tool such as Aviary on Windows or Skitch on Mac OS X.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024