(core) Set min-height for cells, including in Card view, to make them look consistent.

Summary:
Before:
{F37978}

After:
{F37977}

Test Plan: Add a test case for the Card view that the resulting heights are consistent.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3149
This commit is contained in:
Dmitry S 2021-11-19 01:08:48 -05:00
parent dc52c7fe0a
commit 7f8f3dc0be
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@
padding: 3px 3px 0px 3px; padding: 3px 3px 0px 3px;
font-family: var(--grist-font-family-data); font-family: var(--grist-font-family-data);
line-height: 18px; line-height: 18px;
min-height: 21px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
width: 100%; width: 100%;

View File

@ -62,6 +62,7 @@
font-family: var(--grist-font-family-data); font-family: var(--grist-font-family-data);
font-size: var(--grist-medium-font-size); font-size: var(--grist-medium-font-size);
line-height: 18px; line-height: 18px;
min-height: 21px;
white-space: pre-wrap; white-space: pre-wrap;
overflow-wrap: break-word; overflow-wrap: break-word;
} }