spree-contrib / spree_editor

Rich text editor for Spree with Image and File uploading in-place.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
112 stars 181 forks source link

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

Open murty2 opened 3 years ago

murty2 commented 3 years ago

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>'  
 )