Commit b75f9721 authored by Clement Ho's avatar Clement Ho

[skip ci] Fix display blocks when they should be table-cell

parent e44ceb96
......@@ -7,6 +7,6 @@
%span= file_name
- if is_lfs_blob
%span.label.label-lfs.prepend-left-5 LFS
%td.d-none.d-sm-block.tree-commit
%td.d-none.d-sm-table-cell.tree-commit
%td.tree-time-ago.cgray.text-right
= render 'projects/tree/spinner'
......@@ -3,4 +3,4 @@
%i.fa.fa-archive.fa-fw
= submodule_link(submodule_item, @ref)
%td
%td.d-none.d-sm-block
%td.d-none.d-sm-table-cell
......@@ -4,7 +4,7 @@
%thead
%tr
%th= s_('ProjectFileTree|Name')
%th.d-none.d-sm-block
%th.d-none.d-sm-table-cell
.float-left= _('Last commit')
%th.text-right= _('Last update')
- if @path.present?
......@@ -12,7 +12,7 @@
%td.tree-item-file-name
= link_to "..", project_tree_path(@project, up_dir_path), class: 'prepend-left-10'
%td
%td.d-none.d-sm-block
%td.d-none.d-sm-table-cell
= render_tree(tree)
......
......@@ -4,6 +4,6 @@
- path = flatten_tree(@path, tree_item)
= link_to project_tree_path(@project, tree_join(@id || @commit.id, path)), class: 'str-truncated', title: path do
%span= path
%td.d-none.d-sm-block.tree-commit
%td.d-none.d-sm-table-cell.tree-commit
%td.tree-time-ago.text-right
= render 'projects/tree/spinner'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment