Merge branch 'release/v1.2' of github.com:ONLYOFFICE/AppServer into release/v1.2
This commit is contained in:
commit
3ff9982341
@ -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}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user