mirror of
				https://github.com/gristlabs/grist-core.git
				synced 2025-06-13 20:53:59 +00:00 
			
		
		
		
	(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:
		
							parent
							
								
									dc52c7fe0a
								
							
						
					
					
						commit
						7f8f3dc0be
					
				@ -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%;
 | 
				
			||||||
 | 
				
			|||||||
@ -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;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user