mirror of
				https://github.com/gristlabs/grist-core.git
				synced 2025-06-13 20:53:59 +00:00 
			
		
		
		
	(core) Attempt to fix truncated div issues for menu popups on Safari
Summary: This affects the "Add Column" submenu under the sort-and-filter dropdown. The explicit overflow setting (which *should* be the default) seems to fix it. Test Plan: Tested manually on Safari 17.3 on Mac Reviewers: georgegevoian Reviewed By: georgegevoian Subscribers: jarek, georgegevoian Differential Revision: https://phab.getgrist.com/D4249
This commit is contained in:
		
							parent
							
								
									e299f4466b
								
							
						
					
					
						commit
						3267012226
					
				@ -166,6 +166,7 @@ const cssSubMenuElem = styled('div', `
 | 
			
		||||
  min-width: 200px;
 | 
			
		||||
`);
 | 
			
		||||
 | 
			
		||||
// Note: "overflow: visible" happens to matter for Safari.
 | 
			
		||||
export const cssMenuElem = styled('div', `
 | 
			
		||||
  font-family: ${vars.fontFamily};
 | 
			
		||||
  font-size: ${vars.mediumFontSize};
 | 
			
		||||
@ -178,6 +179,7 @@ export const cssMenuElem = styled('div', `
 | 
			
		||||
  --weaseljs-selected-background-color: ${theme.menuItemSelectedBg};
 | 
			
		||||
  --weaseljs-menu-item-padding: 8px 24px;
 | 
			
		||||
  background-color: ${theme.menuBg};
 | 
			
		||||
  overflow: visible;
 | 
			
		||||
 | 
			
		||||
  @media print {
 | 
			
		||||
    & {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user