Fix changelog dialog heading size (#11286)
This commit is contained in:
parent
42d8e4f1a8
commit
150e97744d
2 changed files with 13 additions and 4 deletions
|
@ -20,6 +20,7 @@ import React from "react";
|
||||||
import { _t } from "../../../languageHandler";
|
import { _t } from "../../../languageHandler";
|
||||||
import QuestionDialog from "./QuestionDialog";
|
import QuestionDialog from "./QuestionDialog";
|
||||||
import Spinner from "../elements/Spinner";
|
import Spinner from "../elements/Spinner";
|
||||||
|
import Heading from "../typography/Heading";
|
||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
newVersion: string;
|
newVersion: string;
|
||||||
|
@ -100,7 +101,9 @@ export default class ChangelogDialog extends React.Component<IProps, State> {
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div key={repo}>
|
<div key={repo}>
|
||||||
<h2>{repo}</h2>
|
<Heading as="h2" size="4">
|
||||||
|
{repo}
|
||||||
|
</Heading>
|
||||||
<ul>{content}</ul>
|
<ul>{content}</ul>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -38,7 +38,9 @@ exports[`<ChangelogDialog /> should fetch github proxy url for each repo with ol
|
||||||
class="mx_ChangelogDialog_content"
|
class="mx_ChangelogDialog_content"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<h2>
|
<h2
|
||||||
|
class="mx_Heading_h4"
|
||||||
|
>
|
||||||
vector-im/element-web
|
vector-im/element-web
|
||||||
</h2>
|
</h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -56,7 +58,9 @@ exports[`<ChangelogDialog /> should fetch github proxy url for each repo with ol
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h2>
|
<h2
|
||||||
|
class="mx_Heading_h4"
|
||||||
|
>
|
||||||
matrix-org/matrix-react-sdk
|
matrix-org/matrix-react-sdk
|
||||||
</h2>
|
</h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -74,7 +78,9 @@ exports[`<ChangelogDialog /> should fetch github proxy url for each repo with ol
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h2>
|
<h2
|
||||||
|
class="mx_Heading_h4"
|
||||||
|
>
|
||||||
matrix-org/matrix-js-sdk
|
matrix-org/matrix-js-sdk
|
||||||
</h2>
|
</h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in a new issue