Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix changelog dialog heading size #11286

Merged
merged 1 commit into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/components/views/dialogs/ChangelogDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import React from "react";
import { _t } from "../../../languageHandler";
import QuestionDialog from "./QuestionDialog";
import Spinner from "../elements/Spinner";
import Heading from "../typography/Heading";

interface IProps {
newVersion: string;
Expand Down Expand Up @@ -100,7 +101,9 @@ export default class ChangelogDialog extends React.Component<IProps, State> {
}
return (
<div key={repo}>
<h2>{repo}</h2>
<Heading as="h2" size="4">
{repo}
</Heading>
<ul>{content}</ul>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ exports[`<ChangelogDialog /> should fetch github proxy url for each repo with ol
class="mx_ChangelogDialog_content"
>
<div>
<h2>
<h2
class="mx_Heading_h4"
>
vector-im/element-web
</h2>
<ul>
Expand All @@ -56,7 +58,9 @@ exports[`<ChangelogDialog /> should fetch github proxy url for each repo with ol
</ul>
</div>
<div>
<h2>
<h2
class="mx_Heading_h4"
>
matrix-org/matrix-react-sdk
</h2>
<ul>
Expand All @@ -74,7 +78,9 @@ exports[`<ChangelogDialog /> should fetch github proxy url for each repo with ol
</ul>
</div>
<div>
<h2>
<h2
class="mx_Heading_h4"
>
matrix-org/matrix-js-sdk
</h2>
<ul>
Expand Down
Loading