mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 17:56:17 +01:00
Fix overflow of long words
This commit is contained in:
@@ -89,7 +89,7 @@ class MarkdownView extends React.Component<Props> {
|
|||||||
return (
|
return (
|
||||||
<div ref={el => (this.contentRef = el)}>
|
<div ref={el => (this.contentRef = el)}>
|
||||||
<Markdown
|
<Markdown
|
||||||
className="content"
|
className="content is-word-break"
|
||||||
skipHtml={skipHtml}
|
skipHtml={skipHtml}
|
||||||
escapeHtml={skipHtml}
|
escapeHtml={skipHtml}
|
||||||
source={content}
|
source={content}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ type Props = {
|
|||||||
class BranchRow extends React.Component<Props> {
|
class BranchRow extends React.Component<Props> {
|
||||||
renderLink(to: string, label: string, defaultBranch?: boolean) {
|
renderLink(to: string, label: string, defaultBranch?: boolean) {
|
||||||
return (
|
return (
|
||||||
<Link to={to}>
|
<Link to={to} title={label}>
|
||||||
{label} <DefaultBranchTag defaultBranch={defaultBranch} />
|
{label} <DefaultBranchTag defaultBranch={defaultBranch} />
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class BranchTable extends React.Component<Props> {
|
|||||||
render() {
|
render() {
|
||||||
const { t } = this.props;
|
const { t } = this.props;
|
||||||
return (
|
return (
|
||||||
<table className="card-table table is-hoverable is-fullwidth">
|
<table className="card-table table is-hoverable is-fullwidth is-word-break">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{t("branches.table.branches")}</th>
|
<th>{t("branches.table.branches")}</th>
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ class RepositoryDetailTable extends React.Component<Props> {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{t("repository.description")}</th>
|
<th>{t("repository.description")}</th>
|
||||||
<td>{repository.description}</td>
|
<td className="is-word-break">{repository.description}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{t("repository.creationDate")}</th>
|
<th>{t("repository.creationDate")}</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user