Replace HTML5 obsolete center element with CSS.
Fix #6901. Would generate invalid HTML5.
This commit is contained in:
parent
d1e424bd5c
commit
83f4735b57
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.loading-graph
|
||||
%center
|
||||
.center
|
||||
%h3.page-title
|
||||
%i.icon-spinner.icon-spin
|
||||
Building repository graph.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- 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.
|
||||
|
|
Loading…
Reference in New Issue