From 972bfd5e625546eacca5f4fbc37536ba124f4d1a Mon Sep 17 00:00:00 2001 From: nozakis Date: Wed, 7 Nov 2018 22:35:25 -0600 Subject: [PATCH] Fixed bad margins on the account settings error page. --- app/assets/stylesheets/darkswarm/forms.css.scss | 8 ++++++++ app/views/spree/users/edit.html.haml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/darkswarm/forms.css.scss b/app/assets/stylesheets/darkswarm/forms.css.scss index 9ca7f6f391..b44b32220f 100644 --- a/app/assets/stylesheets/darkswarm/forms.css.scss +++ b/app/assets/stylesheets/darkswarm/forms.css.scss @@ -4,3 +4,11 @@ fieldset { border: 0; } + +.user-form { + margin-left: auto; + margin-right: auto; + max-width: 1184px; + padding-left: .9375rem; + padding-right: .9375rem; +} diff --git a/app/views/spree/users/edit.html.haml b/app/views/spree/users/edit.html.haml index 29e600582c..2c586290e3 100644 --- a/app/views/spree/users/edit.html.haml +++ b/app/views/spree/users/edit.html.haml @@ -1,3 +1,3 @@ .darkswarm - .row + .user-form = render 'form'