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