cnvs icon indicating copy to clipboard operation
cnvs copied to clipboard

Increase line-height in Tables

Open juliangieseke opened this issue 7 years ago • 1 comments

When having multi-line table cells it looks bad with the current setting of 1.1rem, I suggest increasing it to 1.4 or even 1.5 to increase the space between lines.

simple example from the docs: image

juliangieseke avatar Jan 05 '18 14:01 juliangieseke

@juliangieseke great find. I did not intend to include type size overrides for tables, but I think when I rebuilt the table component in CNVS I pulled over legacy styles. I just pushed a commit to this PR (https://github.com/mesosphere/cnvs/pull/117) that resolves this -- allowing .table to inherit from body, which has more reasonable line-height values.

ashenden avatar Jan 06 '18 04:01 ashenden