mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	style(website): misalignment of icon in button
This commit is contained in:
		
							parent
							
								
									ac45617d8f
								
							
						
					
					
						commit
						61ea27c8f4
					
				@ -13,4 +13,8 @@ a.button.outline {
 | 
			
		||||
    border: 1px solid var(--brand-1);
 | 
			
		||||
    color: var(--brand-1);
 | 
			
		||||
    background-color: transparent;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
a.button .text {
 | 
			
		||||
    vertical-align: middle;
 | 
			
		||||
}
 | 
			
		||||
@ -26,7 +26,7 @@ export default function Button({ iconSvg, text, className, outline, ...restProps
 | 
			
		||||
            {...restProps}
 | 
			
		||||
        >
 | 
			
		||||
            {iconSvg && <><Icon svg={iconSvg} />{" "}</>}
 | 
			
		||||
            {text}
 | 
			
		||||
            <span class="text">{text}</span>
 | 
			
		||||
        </Link>
 | 
			
		||||
    )
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user