anytype-ts icon indicating copy to clipboard operation
anytype-ts copied to clipboard

Right-align numbers on Grid Layout

Open syobocat opened this issue 1 year ago • 1 comments
trafficstars

Have you read a contributing guide?

  • [X] I have read CONTRIBUTING.md
  • [X] I have searched the existing requests and didn't find any that were similar
  • [X] I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

Currently Anytype displays numbers left-aligned, but that makes them hard to read.

スクリーンショット 2024-08-29 15 16 07

Suggested solution

Right-align texts if the Relation Type of the column is "Number".

.cellContent.canEdit.c-number {
    text-align: right;
}
スクリーンショット 2024-08-29 15 17 32

Alternative

It will also be great if Anytype let users change the text alignment per column.

Additional context

No response

syobocat avatar Aug 29 '24 06:08 syobocat