mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	top_navbar: Use flexbox to align icon, stream name, and description.
This commit is contained in:
		@@ -2274,6 +2274,7 @@ div.focused-message-list {
 | 
				
			|||||||
    width: 100%;
 | 
					    width: 100%;
 | 
				
			||||||
    line-height: var(--header-height);
 | 
					    line-height: var(--header-height);
 | 
				
			||||||
    display: flex;
 | 
					    display: flex;
 | 
				
			||||||
 | 
					    align-items: baseline;
 | 
				
			||||||
    white-space: nowrap;
 | 
					    white-space: nowrap;
 | 
				
			||||||
    cursor: default;
 | 
					    cursor: default;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -2293,9 +2294,19 @@ div.focused-message-list {
 | 
				
			|||||||
        text-decoration: none;
 | 
					        text-decoration: none;
 | 
				
			||||||
        /* Don't yield any space needed for the stream name. */
 | 
					        /* Don't yield any space needed for the stream name. */
 | 
				
			||||||
        flex-shrink: 0;
 | 
					        flex-shrink: 0;
 | 
				
			||||||
 | 
					        /* Create a flex container for the icon and
 | 
				
			||||||
 | 
					           stream name. */
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        /* We want to use baseline alignment so that the
 | 
				
			||||||
 | 
					           stream name and narrow description sit on
 | 
				
			||||||
 | 
					           the same invisible line. */
 | 
				
			||||||
 | 
					        align-items: baseline;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        .zulip-icon {
 | 
					        .zulip-icon {
 | 
				
			||||||
            font-size: 14px;
 | 
					            font-size: 14px;
 | 
				
			||||||
 | 
					            /* Pull the icon out of baseline alignment,
 | 
				
			||||||
 | 
					               and center with stream name. */
 | 
				
			||||||
 | 
					            align-self: center;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        @media (width < $sm_min) {
 | 
					        @media (width < $sm_min) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user