diff --git a/app/views/layouts/devise.html.haml b/app/views/layouts/devise.html.haml
index 04a586ce4e7..82ca7252424 100644
--- a/app/views/layouts/devise.html.haml
+++ b/app/views/layouts/devise.html.haml
@@ -10,9 +10,7 @@
.content
= render "layouts/flash"
.row
- .col-sm-5.float-right.new-session-forms-container
- = yield
- .col-sm-7.brand-holder.float-left
+ .col-sm-7.brand-holder
%h1
= brand_title
= brand_image
@@ -28,6 +26,8 @@
- if Gitlab::CurrentSettings.sign_in_text.present?
= markdown_field(Gitlab::CurrentSettings.current_application_settings, :sign_in_text)
+ .col-sm-5.new-session-forms-container
+ = yield
%hr.footer-fixed
.container.footer-container
diff --git a/app/views/layouts/header/_empty.html.haml b/app/views/layouts/header/_empty.html.haml
index 38c4e81515b..2dfc787b7a8 100644
--- a/app/views/layouts/header/_empty.html.haml
+++ b/app/views/layouts/header/_empty.html.haml
@@ -1,4 +1,4 @@
%header.navbar.fixed-top.navbar-empty
.container
- .center-logo
+ .mx-auto
= brand_header_logo