Improve headings structure (#1883)

The content of the SCM-Manager should be made accessible and usable in a sensibly structured way so that web content is easy to use for ever user.
This commit is contained in:
Florian Scholdei
2021-12-02 08:45:50 +01:00
committed by GitHub
parent 9cc134f5a8
commit 7f807a8e0f
26 changed files with 448 additions and 386 deletions

View File

@@ -24,7 +24,7 @@
import React from "react";
import { withTranslation, WithTranslation } from "react-i18next";
import { Repository } from "@scm-manager/ui-types";
import { repositories } from "@scm-manager/ui-components";
import { repositories, SubSubtitle } from "@scm-manager/ui-components";
type Props = WithTranslation & {
repository: Repository;
@@ -39,7 +39,7 @@ class ProtocolInformation extends React.Component<Props> {
}
return (
<div className="content">
<h4>{t("scm-svn-plugin.information.checkout")}</h4>
<SubSubtitle>{t("scm-svn-plugin.information.checkout")}</SubSubtitle>
<pre>
<code>svn checkout {href}</code>
</pre>