mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 14:30:29 +03:00 
			
		
		
		
	fix event time appears on left in hidden bubles
This commit is contained in:
		
							parent
							
								
									f11911d64c
								
							
						
					
					
						commit
						a0087964a7
					
				
					 1 changed files with 16 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -40,19 +40,23 @@ export const BubbleLayout = as<'div', BubbleLayoutProps>(
 | 
			
		|||
      </Box>
 | 
			
		||||
      <Box grow="Yes" direction="Column">
 | 
			
		||||
        {header}
 | 
			
		||||
        <Box>
 | 
			
		||||
          <Box
 | 
			
		||||
            className={
 | 
			
		||||
              hideBubble
 | 
			
		||||
                ? undefined
 | 
			
		||||
                : classNames(css.BubbleContent, before ? css.BubbleContentArrowLeft : undefined)
 | 
			
		||||
            }
 | 
			
		||||
            direction="Column"
 | 
			
		||||
          >
 | 
			
		||||
            {!hideBubble && before ? <BubbleLeftArrow variant="SurfaceVariant" /> : null}
 | 
			
		||||
            {children}
 | 
			
		||||
        {hideBubble ? (
 | 
			
		||||
          children
 | 
			
		||||
        ) : (
 | 
			
		||||
          <Box>
 | 
			
		||||
            <Box
 | 
			
		||||
              className={
 | 
			
		||||
                hideBubble
 | 
			
		||||
                  ? undefined
 | 
			
		||||
                  : classNames(css.BubbleContent, before ? css.BubbleContentArrowLeft : undefined)
 | 
			
		||||
              }
 | 
			
		||||
              direction="Column"
 | 
			
		||||
            >
 | 
			
		||||
              {before ? <BubbleLeftArrow variant="SurfaceVariant" /> : null}
 | 
			
		||||
              {children}
 | 
			
		||||
            </Box>
 | 
			
		||||
          </Box>
 | 
			
		||||
        </Box>
 | 
			
		||||
        )}
 | 
			
		||||
      </Box>
 | 
			
		||||
    </Box>
 | 
			
		||||
  )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue