mirror of
https://github.com/Redocly/redoc.git
synced 2025-11-24 11:35:14 +03:00
Change Authorizations header to h3 (use UnderlinedHeaderAuth)
This commit is contained in:
parent
d41fd46f7c
commit
b5d5f7897f
|
|
@ -52,3 +52,15 @@ export const UnderlinedHeader = styled.h5`
|
|||
|
||||
${extensionsHook('UnderlinedHeader')};
|
||||
`;
|
||||
|
||||
export const UnderlinedHeaderAuth = styled.h3`
|
||||
border-bottom: 1px solid rgba(38, 50, 56, 0.3);
|
||||
margin: 1em 0 1em 0;
|
||||
color: rgba(38, 50, 56, 0.5);
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.929em;
|
||||
line-height: 20px;
|
||||
|
||||
${extensionsHook('UnderlinedHeaderAuth')};
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import styled from 'styled-components';
|
||||
import { linksCss } from '../Markdown/styled.elements';
|
||||
import { media } from '../../styled-components';
|
||||
import { UnderlinedHeader } from '../../common-elements';
|
||||
import { UnderlinedHeaderAuth } from '../../common-elements';
|
||||
|
||||
export const Header = styled.div`
|
||||
background-color: #e4e7eb;
|
||||
|
|
@ -93,7 +93,7 @@ export const SecuritiesColumn = styled.div<{ $expanded?: boolean }>`
|
|||
`}
|
||||
`;
|
||||
|
||||
export const AuthHeader = styled(UnderlinedHeader)`
|
||||
export const AuthHeader = styled(UnderlinedHeaderAuth)`
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user