summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-11 14:50:29 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-11 14:50:29 -0500
commitb75f9721df6c7f5231a9d19e38ec8f0395957c0d (patch)
treed62d477e9687e1276230436c3987cbc23fcc84ec
parente44ceb96d0875ffbe2959cd17a87f02b2b815547 (diff)
downloadgitlab-ce-b75f9721df6c7f5231a9d19e38ec8f0395957c0d.tar.gz
[skip ci] Fix display blocks when they should be table-cell
-rw-r--r--app/views/projects/tree/_blob_item.html.haml2
-rw-r--r--app/views/projects/tree/_submodule_item.html.haml2
-rw-r--r--app/views/projects/tree/_tree_content.html.haml4
-rw-r--r--app/views/projects/tree/_tree_item.html.haml2
4 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/tree/_blob_item.html.haml b/app/views/projects/tree/_blob_item.html.haml
index 38b60157794..35126d4ddbe 100644
--- a/app/views/projects/tree/_blob_item.html.haml
+++ b/app/views/projects/tree/_blob_item.html.haml
@@ -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'
diff --git a/app/views/projects/tree/_submodule_item.html.haml b/app/views/projects/tree/_submodule_item.html.haml
index 9a4a62cc3a7..e563c8c4036 100644
--- a/app/views/projects/tree/_submodule_item.html.haml
+++ b/app/views/projects/tree/_submodule_item.html.haml
@@ -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
diff --git a/app/views/projects/tree/_tree_content.html.haml b/app/views/projects/tree/_tree_content.html.haml
index a5e4b0927e9..587aeafa82f 100644
--- a/app/views/projects/tree/_tree_content.html.haml
+++ b/app/views/projects/tree/_tree_content.html.haml
@@ -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)
diff --git a/app/views/projects/tree/_tree_item.html.haml b/app/views/projects/tree/_tree_item.html.haml
index 4c44958746f..ce0cd95b468 100644
--- a/app/views/projects/tree/_tree_item.html.haml
+++ b/app/views/projects/tree/_tree_item.html.haml
@@ -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'