mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	left_sidebar: Avoid clipping tall glyphs in DM groups, topics.
This commit is contained in:
		@@ -1646,7 +1646,12 @@ li.active-sub-filter {
 | 
				
			|||||||
        overflow-wrap: break-word;
 | 
					        overflow-wrap: break-word;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        line-height: var(--line-height-sidebar-topic-inner);
 | 
					        line-height: var(--line-height-sidebar-topic-inner);
 | 
				
			||||||
        margin: var(--spacing-top-bottom-sidebar-topic-inner) 0;
 | 
					        /* To avoid clipping the tops of certain characters,
 | 
				
			||||||
 | 
					           we set the top space with padding. But to make the
 | 
				
			||||||
 | 
					           line-clamp effect work, we set the bottom space
 | 
				
			||||||
 | 
					           with margin. */
 | 
				
			||||||
 | 
					        padding-top: var(--spacing-top-bottom-sidebar-topic-inner);
 | 
				
			||||||
 | 
					        margin: 0 0 var(--spacing-top-bottom-sidebar-topic-inner) 0;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1805,8 +1810,13 @@ li.active-sub-filter {
 | 
				
			|||||||
    overflow-wrap: break-word;
 | 
					    overflow-wrap: break-word;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    line-height: var(--line-height-sidebar-topic-inner);
 | 
					    line-height: var(--line-height-sidebar-topic-inner);
 | 
				
			||||||
    margin: var(--spacing-top-bottom-sidebar-topic-inner) 0;
 | 
					    /* To avoid clipping the tops of certain characters,
 | 
				
			||||||
    padding: 0 var(--left-sidebar-before-unread-count-padding) 0 0;
 | 
					       we set the top space with padding. But to make the
 | 
				
			||||||
 | 
					       line-clamp effect work, we set the bottom space
 | 
				
			||||||
 | 
					       with margin. */
 | 
				
			||||||
 | 
					    padding: var(--spacing-top-bottom-sidebar-topic-inner)
 | 
				
			||||||
 | 
					        var(--left-sidebar-before-unread-count-padding) 0 0;
 | 
				
			||||||
 | 
					    margin-bottom: var(--spacing-top-bottom-sidebar-topic-inner);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user