mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
hide length and last modified columns on mobile
This commit is contained in:
@@ -128,8 +128,12 @@ class FileTree extends React.Component<Props> {
|
|||||||
<tr>
|
<tr>
|
||||||
<th className={classes.iconColumn} />
|
<th className={classes.iconColumn} />
|
||||||
<th>{t("sources.file-tree.name")}</th>
|
<th>{t("sources.file-tree.name")}</th>
|
||||||
<th>{t("sources.file-tree.length")}</th>
|
<th className="is-hidden-mobile">
|
||||||
<th>{t("sources.file-tree.lastModified")}</th>
|
{t("sources.file-tree.length")}
|
||||||
|
</th>
|
||||||
|
<th className="is-hidden-mobile">
|
||||||
|
{t("sources.file-tree.lastModified")}
|
||||||
|
</th>
|
||||||
<th>{t("sources.file-tree.description")}</th>
|
<th>{t("sources.file-tree.description")}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
@@ -68,8 +68,8 @@ class FileTreeLeaf extends React.Component<Props> {
|
|||||||
<tr>
|
<tr>
|
||||||
<td className={classes.iconColumn}>{this.createFileIcon(file)}</td>
|
<td className={classes.iconColumn}>{this.createFileIcon(file)}</td>
|
||||||
<td>{this.createFileName(file)}</td>
|
<td>{this.createFileName(file)}</td>
|
||||||
<td>{fileSize}</td>
|
<td className="is-hidden-mobile">{fileSize}</td>
|
||||||
<td>
|
<td className="is-hidden-mobile">
|
||||||
<DateFromNow date={file.lastModified} />
|
<DateFromNow date={file.lastModified} />
|
||||||
</td>
|
</td>
|
||||||
<td>{file.description}</td>
|
<td>{file.description}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user