mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	sidebars: Correct display at small mobile sizes.
This fixes a state where the expanded left sidebar appears under the navbar at the smallest mobile views. It also provides a stop-gap fix for the right sidebar's USERS heading, making it align better (but certainly not perfectly) with the left sidebar's.
This commit is contained in:
		@@ -3118,14 +3118,20 @@ select.invite-as {
 | 
			
		||||
@media (width < $sm_min) {
 | 
			
		||||
    .column-right.expanded .right-sidebar,
 | 
			
		||||
    .column-left.expanded .left-sidebar {
 | 
			
		||||
        margin-top: 31px;
 | 
			
		||||
        margin-top: var(--navbar-fixed-height);
 | 
			
		||||
        /* For very small sizes, skip the relatively large top padding. */
 | 
			
		||||
        padding-top: 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /* TODO: Properly and accurately align the
 | 
			
		||||
       topmost headers on the left and right
 | 
			
		||||
       sidebar. */
 | 
			
		||||
    .column-right.expanded .right-sidebar-items {
 | 
			
		||||
        margin-top: 10px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .column-left.expanded {
 | 
			
		||||
        .left-sidebar {
 | 
			
		||||
            /* For very small sizes, skip the relatively large top padding. */
 | 
			
		||||
            padding-top: 0;
 | 
			
		||||
 | 
			
		||||
            #streams_header {
 | 
			
		||||
                padding-right: 10px;
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user