mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	css: Fix gap between header and sticky header at some zoom level.
This commit is contained in:
		@@ -339,6 +339,9 @@ p.n-margin {
 | 
				
			|||||||
    height: var(--header-height);
 | 
					    height: var(--header-height);
 | 
				
			||||||
    /* Since the headers are sticky, we need non-transparent background. */
 | 
					    /* Since the headers are sticky, we need non-transparent background. */
 | 
				
			||||||
    background-color: var(--color-background);
 | 
					    background-color: var(--color-background);
 | 
				
			||||||
 | 
					    /* Add 1px box-shadow below header so that if there is a gap between sticky header
 | 
				
			||||||
 | 
					       and header at some zoom level, it is covered by this */
 | 
				
			||||||
 | 
					    box-shadow: 0 1px 0 0 var(--color-background);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#navbar-middle .column-middle-inner,
 | 
					#navbar-middle .column-middle-inner,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user