Web: Files: Settings: fixed header font-size

This commit is contained in:
Nikita Gopienko 2022-05-04 15:30:20 +03:00
parent 3955ed1da6
commit 3afe304561
2 changed files with 8 additions and 2 deletions

View File

@ -18,7 +18,8 @@ const weight = {
const StyledHeading = styled(Heading)`
margin: 0;
line-height: 50px;
font-size: ${(props) => size[props.headlineType]};
font-size: ${(props) =>
props.fontSize ? props.fontSize : size[props.headlineType]};
font-weight: ${(props) => weight[props.headlineType]};
color: ${(props) => (props.color ? props.color : props.theme.color)};
${NoUserSelect}

View File

@ -4,7 +4,12 @@ import Headline from "@appserver/common/components/Headline";
const SectionHeaderContent = ({ title }) => {
return (
<div>
<Headline className="headline-header" type="content" truncate={true}>
<Headline
fontSize="18px"
className="headline-header"
type="content"
truncate={true}
>
{title}
</Headline>
</div>