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

[UI/UX] Table in dashboard #5

Open
reboottime opened this issue Nov 14, 2023 · 1 comment
Open

[UI/UX] Table in dashboard #5

reboottime opened this issue Nov 14, 2023 · 1 comment

Comments

@reboottime
Copy link
Owner

reboottime commented Nov 14, 2023

Overview

@reboottime
Copy link
Owner Author

reboottime commented Nov 14, 2023

Table text alignment, Draft

Table Headers:

  • Align text in header cells to the dominant alignment of the column data. For example, if a column is mostly numerical, align the header to the right.
  • Center alignment can also work for headers, especially if the column widths are narrow.

Table Content

  • Align text-based data (like names or descriptions) to the left. This is because most languages are read left-to-right, and left alignment is generally easier to read.
    Numerical Data:

  • Align numbers to the right. This makes it easier to compare figures as the decimal points line up vertically.
    For columns with mixed data types (like numbers and text), consider what type is predominant and choose alignment accordingly.
    Center Alignment:

  • Use sparingly, mainly for short texts or when it enhances the design. It can be effective for certain types of data, such as dates or categories.

  • Action buttons: left to right


Overall

  • Keep the alignment consistent across all rows in the same column.
    If your table spans multiple pages or slides, maintain the same alignment throughout.
    Padding:

  • Ensure there's adequate padding around the text within the cells. This prevents the text from appearing crammed against the cell borders, improving readability.
    Consider the Audience:

  • If your audience reads in a language that is right-to-left, you might want to adjust the alignment accordingly.
    Responsive Design:

  • If the table will be viewed on different devices, ensure that the alignment remains effective across screen sizes.

@reboottime reboottime transferred this issue from reboottime/WebDevelopment Feb 17, 2024
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