mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 06:04:56 +03:00
fix: ensure browser falls back to a sans-serif font
If `Verdana` isn't present, the system/browser default serif font would be used instead. Fixes https://github.com/Redocly/redoc/issues/1180#issuecomment-634545588
This commit is contained in:
parent
1a7deec443
commit
b5b123db9d
|
@ -16,7 +16,7 @@ export const OperationBadge = styled.span.attrs((props: { type: string }) => ({
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: 6px 4px;
|
background-position: 6px 4px;
|
||||||
font-size: 7px;
|
font-size: 7px;
|
||||||
font-family: Verdana; // web-safe
|
font-family: Verdana, sans-serif; // web-safe
|
||||||
color: white;
|
color: white;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user