mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	compose: Let pill-container dictate spacing of pills.
The 2px and 6px values expressed as variables here are taken from @terpimost's mocks in Figma.
This commit is contained in:
		@@ -204,6 +204,8 @@
 | 
			
		||||
    /* 1.4286em is 20px at 14px/1em */
 | 
			
		||||
    --height-input-pill: 1.4286em;
 | 
			
		||||
    --length-input-pill-image: var(--height-input-pill);
 | 
			
		||||
    --vertical-spacing-input-pill: 2px;
 | 
			
		||||
    --horizontal-spacing-input-pill: 6px;
 | 
			
		||||
 | 
			
		||||
    /* Overlay heights for streams modal */
 | 
			
		||||
    --overlay-container-height: 95vh;
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@
 | 
			
		||||
        min-width: 0;
 | 
			
		||||
 | 
			
		||||
        height: var(--height-input-pill);
 | 
			
		||||
        margin: 1px 2px;
 | 
			
		||||
        margin: 0;
 | 
			
		||||
 | 
			
		||||
        color: inherit;
 | 
			
		||||
        border: 1px solid transparent;
 | 
			
		||||
@@ -157,7 +157,8 @@
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#compose-direct-recipient .pill-container {
 | 
			
		||||
    padding: 0 2px;
 | 
			
		||||
    gap: var(--vertical-spacing-input-pill) var(--horizontal-spacing-input-pill);
 | 
			
		||||
    padding: var(--vertical-spacing-input-pill);
 | 
			
		||||
    border: 1px solid hsl(0deg 0% 0% / 20%);
 | 
			
		||||
    background-color: hsl(0deg 0% 100%);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user