Commit 83f4735b authored by Ciro Santilli's avatar Ciro Santilli
Browse files

Replace HTML5 obsolete center element with CSS.

Fix #6901. Would generate invalid HTML5.
parent 9e70562741ea
......@@ -16,6 +16,7 @@
.append-bottom-15 { margin-bottom:15px }
.append-bottom-20 { margin-bottom:20px }
.inline { display: inline-block }
.center { text-align: center }
.underlined-link { text-decoration: underline; }
.hint { font-style: italic; color: #999; }
......
......@@ -5,7 +5,7 @@
= render "layouts/flash"
.container
.content
%center
.center
%h1 GitLab
%p.light
GitLab is open source software to collaborate on code.
......
......@@ -6,5 +6,5 @@
= render "layouts/flash"
.container
.content
%center.padded.prepend-top-20
.center.padded.prepend-top-20
= yield
.file-content.blob_file.blob-no-preview
%center
.center
= link_to project_raw_path(@project, @id) do
%h1.light
%i.icon-download-alt
......
......@@ -33,7 +33,7 @@
- else
.light-well
%center
.center
%h4
There isn't anything to compare.
%p.slead
......
......@@ -183,7 +183,7 @@
.nothing-here-block Only project owner can remove a project
.save-project-loader.hide
%center
.center
%h2
%i.icon-spinner.icon-spin
Saving project.
......
......@@ -18,7 +18,7 @@
.file-content.code
%pre.js-edit-mode-pane#editor= @blob.data
.js-edit-mode-pane#preview.hide
%center
.center
%h2
%i.icon-spinner.icon-spin
......
.loading-graph
%center
.center
%h3.page-title
%i.icon-spinner.icon-spin
Building repository graph.
......
- if @project.import_in_progress?
.save-project-loader
%center
.center
%h2
%i.icon-spinner.icon-spin
Import in progress.
......@@ -11,7 +11,7 @@
- elsif @project.import_failed?
.save-project-loader
%center
.center
%h2
Import failed. Retry?
%hr
......
......@@ -39,7 +39,7 @@
%p We can't compare selected branches. It may be because of huge diff or satellite timeout. Please try again or select different branches.
- else
.light-well
%center
.center
%h4
There isn't anything to merge.
%p.slead
......
......@@ -72,7 +72,7 @@
Create a group
.save-project-loader.hide
%center
.center
%h2
%i.icon-spinner.icon-spin
Creating project & repository.
......
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