Skip to content

DataView: support different alignment for text and numbers #66623

@rogermattic

Description

@rogermattic

Currently, the DataView component only supports left alignment for all content, whether it's numbers or text. As we explore using tables for analytics and financial reports, where there will be more numbers, we need to improve accessibility by supporting different alignments.

The basic alignment requirements:

  • Numbers → right-aligned
    
  • Text → left-aligned
    

This change will make the data easier for users to read and interpret.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions