From 9bc81f236c26f6025a04e8a80a45f8392d7bc302 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Mon, 29 Jul 2019 13:46:35 +0100 Subject: [PATCH] Add doctype declaration as it is defined in spree layouts/admin so that html5 mode is enabled, otherwise html 4 mode is used by browsers and the observed layout problems happen --- app/views/spree/layouts/admin.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/spree/layouts/admin.html.haml b/app/views/spree/layouts/admin.html.haml index 2403e87210..f98c25528a 100644 --- a/app/views/spree/layouts/admin.html.haml +++ b/app/views/spree/layouts/admin.html.haml @@ -1,3 +1,4 @@ +!!! %html{:lang => "en"} %head{"data-hook" => "admin_inside_head"} = render :partial => 'spree/admin/shared/head'