text icon indicating copy to clipboard operation
text copied to clipboard

In tables right and middle alignment conflict with the buttons in the table head

Open max-nextcloud opened this issue 3 years ago • 1 comments

When aligning a column to the middle the heading is not aligned with the other rows because it makes room for the three dot buttons. Same for right alignment:

Bildschirmfoto vom 2022-12-07 09-02-37

Originally posted by @max-nextcloud in https://github.com/nextcloud/text/issues/3521#issuecomment-1340549757

max-nextcloud avatar Dec 07 '22 09:12 max-nextcloud

@jancborchardt @nimishavijay What do you think?

With the middle this might just be a question of html / css layout so the dots don't take away space from the center alignment. Maybe we could add an invisible element of the same size on the other side even.

With right alignment i see two options:

  • move the ... buttons out of the way - either to left or in front of the text
  • leave empty room on the right in the rows below as well.

Alternatively we could also only show the 3 dots if the heading is selected.

max-nextcloud avatar Dec 07 '22 09:12 max-nextcloud