mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-01 00:07:32 +03:00 
			
		
		
		
	add logo gutter
This commit is contained in:
		
							parent
							
								
									649940bfe5
								
							
						
					
					
						commit
						82c0cb1a3c
					
				|  | @ -10,6 +10,7 @@ export const LogoImgEl = styled.img` | ||||||
| 
 | 
 | ||||||
| export const LogoWrap = styled.div` | export const LogoWrap = styled.div` | ||||||
|   text-align: center; |   text-align: center; | ||||||
|  |   padding: ${props => props.theme.logo.gutter}; | ||||||
| `;
 | `;
 | ||||||
| 
 | 
 | ||||||
| const Link = styled.a` | const Link = styled.a` | ||||||
|  |  | ||||||
|  | @ -139,6 +139,7 @@ const defaultTheme: ThemeInterface = { | ||||||
|   logo: { |   logo: { | ||||||
|     maxHeight: ({ menu }) => menu.width, |     maxHeight: ({ menu }) => menu.width, | ||||||
|     maxWidth: ({ menu }) => menu.width, |     maxWidth: ({ menu }) => menu.width, | ||||||
|  |     gutter: '2px', | ||||||
|   }, |   }, | ||||||
|   rightPanel: { |   rightPanel: { | ||||||
|     backgroundColor: '#263238', |     backgroundColor: '#263238', | ||||||
|  | @ -307,6 +308,7 @@ export interface ResolvedThemeInterface { | ||||||
|   logo: { |   logo: { | ||||||
|     maxHeight: string; |     maxHeight: string; | ||||||
|     maxWidth: string; |     maxWidth: string; | ||||||
|  |     gutter: string; | ||||||
|   }; |   }; | ||||||
|   rightPanel: { |   rightPanel: { | ||||||
|     backgroundColor: string; |     backgroundColor: string; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user