Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Rich Editor entry under Configurations in ADMIN menu is not justified #157

Open
murty2 opened this issue Jul 25, 2021 · 0 comments
Open

Comments

@murty2
Copy link

murty2 commented Jul 25, 2021

I edited app/overrides/add_rich_editor_tab.rb as follows:

--- add_rich_editor_tab.rb.orig 2021-07-25 00:23:07.229597252 -0400                                                                                                                           
+++ add_rich_editor_tab.rb      2021-07-25 00:17:45.067454298 -0400                                                                                                                           
@@ -2,5 +2,5 @@                                                                                                                                                                               
   virtual_path: 'spree/admin/shared/sub_menu/_configuration',                                                                                                                                
   name: 'add_rich_editor_tab',                                                                                                                                                               
   insert_bottom: '[data-hook="admin_configurations_sidebar_menu"]',                                                                                                                          
-  text: '<li<%== " class=\"active\"" if controller.controller_name == "editor_settings" %>><%= link_to Spree.t(:rich_editor), spree.edit_admin_editor_settings_path %></li>'                 
+  text: '<li<%== " class=\"active\"" if controller.controller_name == "editor_settings" %>><%= link_to Spree.t(:rich_editor), spree.edit_admin_editor_settings_path, class: "pl-3" %></li>'  
 )
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant