mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-30 23:37:28 +03:00 
			
		
		
		
	fix: large text in examples value (#1974)
This commit is contained in:
		
							parent
							
								
									4e793f07a8
								
							
						
					
					
						commit
						60bc603e9b
					
				|  | @ -71,6 +71,7 @@ export const PatternLabel = styled(FieldLabel)` | ||||||
| 
 | 
 | ||||||
| export const ExampleValue = styled(FieldLabel)` | export const ExampleValue = styled(FieldLabel)` | ||||||
|   border-radius: 2px; |   border-radius: 2px; | ||||||
|  |   word-break: break-word; | ||||||
|   ${({ theme }) => ` |   ${({ theme }) => ` | ||||||
|     background-color: ${transparentize(0.95, theme.colors.text.primary)}; |     background-color: ${transparentize(0.95, theme.colors.text.primary)}; | ||||||
|     color: ${transparentize(0.1, theme.colors.text.primary)}; |     color: ${transparentize(0.1, theme.colors.text.primary)}; | ||||||
|  |  | ||||||
|  | @ -31,6 +31,5 @@ export function Examples({ field }: { field: FieldModel }) { | ||||||
| 
 | 
 | ||||||
| const ExamplesList = styled.ul` | const ExamplesList = styled.ul` | ||||||
|   margin-top: 1em; |   margin-top: 1em; | ||||||
|   padding-left: 0; |   list-style-position: outside; | ||||||
|   list-style-position: inside; |  | ||||||
| `;
 | `;
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user